A simple Python tool to organize files in a directory into categorized folders (Documents, Images, Music, etc.).
Just run:
pip install py-file-organizerOr, to install locally from source:
pip install -e .Python 3.7+ required
Usage: file-organizer
You will be prompted to enter the directory path to organize.
Options:
(None currently; interactive prompt only)
$ file-organizerRunning the above command will prompt you to enter the path of the directory you want to organize. All files in the specified directory will be moved into categorized folders (e.g., Documents, Images, Music, etc.) based on their file extensions.
from file_organizer import organize_files
organize_files('/path/to/your/directory')- Add CLI options (e.g., dry-run, custom categories)
- Improve code structure
MIT