A colorful CLI tool that organizes files into categorized folders based on file extensions.
Project description
๐๏ธ Bulk File Organizer
Bulk File Organizer is a Python command-line tool that automatically sorts files in a directory based on their file extensions. It organizes your digital chaos into clean, structured folders โ with colorful terminal feedback powered by Rich โจ
๐ Features
- ๐ฆ Automatically categorizes files into folders (Images, Documents, Archives, etc.)
- ๐ก Smart handling for unknown extensions (goes into
Others) - ๐งฉ Configurable via
pyproject.toml - ๐ Beautiful CLI output using Rich
- ๐งช Dry-run mode to preview changes before organizing
- ๐ Summary table after organization
- ๐ช Recursive scanning of subdirectories
โ๏ธ Installation
pip install bulk-file-organizer
Or install from source:
git clone https://github.com/Shravan250/bulk-file-organizer.git
cd bulk-file-organizer
pip install .
๐ฅ๏ธ Usage
bulk-organizer /path/to/your/folder
Options
| Flag | Description |
|---|---|
--dry-run |
Simulate organization without moving files |
--summary |
Show summary table at the end |
--recursive |
Recursively organize subdirectories |
--version |
Show current version |
Example:
bulk-organizer ~/Downloads --dry-run --summary
๐ง Example Output
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ Bulk Organizer v0.1.0 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Target Directory: ~/Downloads
Dry Run Mode Enabled โ no files will be moved.
โจ Organizing files... โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 100% 0:00:02
๐ Organization Summary
โโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Folder โ File Count โ Example Files โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Images โ 12 โ photo.png, logo.jpg, โฆ โ
โ Documents โ 8 โ resume.pdf, notes.txt, โฆ โ
โ Archives โ 2 โ backup.zip, logs.tar.gz โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ Operation Complete โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐งฉ Project Structure
bulk-file-organizer/
โ
โโโ bulk_organizer/
โ โโโ __init__.py
โ โโโ cli.py
โ โโโ scanner.py
โ โโโ mapper.py
โ โโโ organizer.py
โ
โโโ tests/
โ
โโโ pyproject.toml
โโโ README.md
โโโ CONTRIBUTING.md
โโโ LICENSE
๐งโ๐ป Contributing
We love clean code and clever minds. Check out CONTRIBUTING.md to learn how you can contribute to this project.
๐ชช License
This project is licensed under the MIT License.
โญ Show Some Love
If this tool helped you bring order to your chaos โ please consider giving it a โญ on GitHub! Every star helps this project grow and makes the world a little more organized ๐โจ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bulk_file_organizer-0.1.2.tar.gz.
File metadata
- Download URL: bulk_file_organizer-0.1.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cef23bfe4153e03a47c66c28d612954e666bc459cfdc52d4588d8be7e9fc14c1
|
|
| MD5 |
d26e695618125063adbc1a497f4a17ad
|
|
| BLAKE2b-256 |
bf23c36800f8a4056926b686c8bc1fe9c4bab95b22fa7ba1f42486cbf9209ced
|
File details
Details for the file bulk_file_organizer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: bulk_file_organizer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbc409c8fce6b911170773a12f36c2d72ddcfe879deb2a10717af64c422633f9
|
|
| MD5 |
a622ae637d33db87a829b9bd5b1f307c
|
|
| BLAKE2b-256 |
8abf8d1fbe33cdc46e12e03f115fc808ae5d7affcef4fb2f0406e58a53082605
|