dlorg is a powerful and intuitive Python script that automatically organizes your cluttered Downloads folder into a neatly structured directory system. Say goodbye to the chaos and hello to a tidy digital workspace!
- 🚀 Efficient Organization: Sorts files based on their types into dedicated folders.
- 🎭 Wide File Support: Handles various file types including documents, images, videos, and more.
- 🔍 Smart Recognition: Automatically detects file types and places them in appropriate folders.
- 🛡️ Safe Operation: Doesn't delete any files, just moves them to new locations.
- 🎬 Demo Mode: Includes a demonstration mode for testing and presentation purposes.
- 🎨 Rich CLI Interface: Utilizes the Rich library for a colorful and interactive command-line interface.
- 🖼️ ASCII Art Logo: Features a stylish ASCII art logo for a professional look.
- 📊 Configuration Management: Easily view and modify folder configurations through the CLI.
-
Clone the repository:
git clone https://github.com/deepspeccode/dlorg.git
-
Navigate to the dlorg directory:
cd dlorg
-
Install the required dependencies:
pip install rich
-
Run the script:
python dlorg.py
- Python 3.6 or higher
- Rich library (
pip install rich
)
- Ensure you have Python 3.6+ installed on your system.
- Clone this repository or download the
dlorg.py
script. - Install the Rich library:
pip install rich
Run the script from your terminal:
python dlorg.py
By default, this will organize files from your Downloads folder into a new "Organized" directory in your home folder.
You can specify custom source and destination paths:
python dlorg.py -s "/path/to/source" -d "/path/to/destination"
The script now features an interactive menu with the following options:
- Organize files
- View current configuration
- Add new folder
- Remove folder
- Add file extension to folder
- Remove file extension from folder
- Exit
After running dlorg, your files will be organized into the following structure:
Organized/
├── PDFs/
├── Executables/
├── Images/
├── ZipFiles/
├── Documents/
├── Spreadsheets/
├── Audio/
├── Video/
├── HTML/
├── DiscImages/
├── PHP/
├── JSON/
├── QIF/
└── CRDOWNLOAD/
You can easily customize the script to fit your needs:
- Use the interactive menu to add, remove, or modify folder configurations.
- The configuration is automatically saved to a JSON file for persistence.
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
This project is MIT licensed.
- Thanks to all the open-source projects that inspired this tool.
- Special thanks to the Python community for their invaluable resources.
- The Rich library for providing beautiful CLI interfaces.
Made with ❤️ by DeepSpecCode