The purpose of this program is to automatically sort a given directory into user-assigned folders, by file extension.
These instructions should help you get a copy of this program up and running.
These prerequisites only apply if you are not using the standalone application.
-
Python 3.6+
-
The external packages
watchdogandtoml, which can be installed via the following in the command prompt:pip install watchdog pip install toml
Copy the files into a directory and run FileSorter.py or FileSorter.exe. If you did not copy the config file above, it will be automatically created and you will be prompted to input a directory to sort.
FileSorter.exe will automatically run as a background process. If you wish to run the python version in the background, change the extension of the python file to .pyw.
If you wish for any non-specified extensions to be sorted into a miscellaneous folder, change the config option misc_enabled to true.
The extensions and their corresponding folders to be sorted into can be changed inside the config.txt config file. To add a new folder to sort into, you just apply the following template inside config.txt:
[folders]
...
FolderName = [
'extension',
'...'
]
This project is licensed under the MIT License - see the LICENSE file for further details.