Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bulk_file_organizer-0.1.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bulk_file_organizer-0.1.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for bulk_file_organizer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cef23bfe4153e03a47c66c28d612954e666bc459cfdc52d4588d8be7e9fc14c1
MD5 d26e695618125063adbc1a497f4a17ad
BLAKE2b-256 bf23c36800f8a4056926b686c8bc1fe9c4bab95b22fa7ba1f42486cbf9209ced

See more details on using hashes here.

File details

Details for the file bulk_file_organizer-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bulk_file_organizer-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bbc409c8fce6b911170773a12f36c2d72ddcfe879deb2a10717af64c422633f9
MD5 a622ae637d33db87a829b9bd5b1f307c
BLAKE2b-256 8abf8d1fbe33cdc46e12e03f115fc808ae5d7affcef4fb2f0406e58a53082605

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page