Organizer is a file organizer program designed to deal with directories plagued with clutter.
Organizer is simple:
- Define where you want extensions to go in the json config.
- Input your source folder.
- Sit back while it sends files to your directories.
To install, first clone the repository:
git clone https://codeberg.org/dalentri/organizer.git
cd organizerThen, set up a virtual environment:
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activateFinally, install the dependencies:
pip install -r requirements.txtConfiguration happens in the data directory inside of the config.json file: data/config.json.
{
"~/Music/": [".mp3", ".wav", ".flac", ".m4a"],
"~/Movies/": [".mp4", ".webm"],
"~/Documents/": [".pdf", ".docx", ".txt", ".doc", ".psd"],
"~/Pictures/": [".png", ".jpeg", ".jpg", ".gif", ".webp", ".heic"],
"trash": [".zip", ".dmg"]
}To edit the path of an extension list, edit the key of the list to a file path followed by a tilde (e.g., "~/Music/coldplushtoy_songs/").
To edit the extensions that go to your designated paths, simply remove or add an extension to the list respective to the designated path.
To run the program:
python3 src/main.py