Awesome
š Downloads Organizer (dlorg)
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.py
script. - 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.
<p align="center"> Made with ā¤ļø by DeepSpecCode </p>