Skip to content

dalentri/organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Organizer

Organizer is a file organizer program designed to deal with directories plagued with clutter.

Organizer is simple:

  1. Define where you want extensions to go in the json config.
  2. Input your source folder.
  3. Sit back while it sends files to your directories.

Installation

To install, first clone the repository:

git clone https://codeberg.org/dalentri/organizer.git
cd organizer

Then, set up a virtual environment:

python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate

Finally, install the dependencies:

pip install -r requirements.txt

Configuration

Configuration 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.

Usage

To run the program:

python3 src/main.py

About

A Python file organizer for messy directories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages