Giter Site home page Giter Site logo

jasper-dev / folder-automation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from v-amorim/folder-automation

0.0 0.0 0.0 42 KB

Automating the process of sorting files in a selected folder by file type or extension.

License: MIT License

Python 100.00%

folder-automation's Introduction

folder-automation

Automating the process of sorting files in a user's folder on Windows by file type.

This script iterates through the files in a user's folder on Windows and places each file in its appropriate folder, it can sort by categories or by extensions. There's a config file that contains the categories.

Prerequisites

This script requires Python to be installed for it to run. To install Python, click here.

Usage

From a terminal, navigate into the project directory.

$ cd downloads-folder-automation

From here, you have two options:

  1. Run via the GUI, with both options and a popup with the target directory:

    $ python folder_sorter.pyw
    
  2. Run via the command line, here you specify the method and folder to be sorted, with Download's Path as the default one (best for automation):

    $ python folder_sorter.pyw sort_c
    $ python folder_sorter.pyw sort_c "<path>"
    $ python folder_sorter.pyw sort_e "<path>"
    

To have the script run automatically, configure it in Windows Task Scheduler according to this tutorial.

Contributing

Please read HOW_TO_CONTRIBUTE.md for details on submitting pull requests.

License

This project is licensed under the MIT license - see the LICENCE.md for details.

Acknowledgement

I drew a lot of inspiration for this script from Nitish Sharma's medium article. Many thanks to the following people who helped me optimize my code:

folder-automation's People

Contributors

eric-mahasi avatar v-amorim avatar vickz84259 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.