Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Sorter

The purpose of this program is to automatically sort a given directory into user-assigned folders, by file extension.

Getting Started

These instructions should help you get a copy of this program up and running.

Prerequisites

These prerequisites only apply if you are not using the standalone application.

  • Python 3.6+

  • The external packages watchdog and toml, which can be installed via the following in the command prompt:

    pip install watchdog
    pip install toml
    

Using the program

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.

Changing folders and extensions

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',
	'...'
]

License

This project is licensed under the MIT License - see the LICENSE file for further details.

About

A python sorter that sorts files in a given directory based on their extensions into user-assigned folders.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages