๐ Downloads Organizer (dlorg)
August 17, 2024 ยท View on GitHub

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!
๐ฌ Demo

๐ธ Screenshots
Main Menu

Configuration View

โจ Features
- ๐ 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.
๐ Quick Start
-
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
๐ Requirements
- Python 3.6 or higher
- Rich library (
pip install rich)
๐ ๏ธ Installation
- Ensure you have Python 3.6+ installed on your system.
- Clone this repository or download the
dlorg.pyscript. - Install the Rich library:
pip install rich
๐ฅ๏ธ Usage
Basic Usage
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.
Custom Paths
You can specify custom source and destination paths:
python dlorg.py -s "/path/to/source" -d "/path/to/destination"
Interactive Menu
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
๐ Folder Structure
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/
๐จ Customization
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.
๐ค Contributing
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
๐ License
This project is MIT licensed.
๐ Acknowledgements
- 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