A CLI tool to organize files into system and custom folders
Project description
📁 Tidybit2
A beautiful, interactive command-line tool that organizes your messy directories into neat system folders (Pictures, Documents, Videos) or custom folders like Archives.
✨ Now with interactive folder selection and preview mode.
🚀 Features
- 🧭 Interactive folder selection using arrow keys (powered by
questionary) - 🔍 Preview of file moves before execution (e.g.,
photo.jpg → Pictures) - ✅ Confirmation prompt to accept or cancel the operation
- 🗂️ Automatically moves files to system folders:
.jpg,.png→Pictures.pdf,.docx→Documents.mp4,.mov→Videos
- 📦 Unmapped files (e.g.,
.zip,.rar) go to anArchivesfolder - 💻 Supports both Windows and Linux
- 🔧 Auto-creates folders if they don’t exist
🛠️ Installation
1. Clone the repository:
git clone <your-repo-url>
cd file-organizer
2. Install the tool:
pip install .
All dependencies (like questionary) will be installed automatically.
💡 Usage
🔄 Interactive Mode (default)
Organize files by interactively selecting a directory and previewing the changes:
organize
📂 Target Specific Folder
Run directly on a known folder, with a preview + confirmation:
organize ~/Downloads
💻 Example
Before:
~/Downloads/
├── cat.png
├── report.pdf
├── movie.mkv
├── old_files.zip
After:
~/Pictures/cat.png
~/Documents/report.pdf
~/Videos/movie.mkv
~/Downloads/Archives/old_files.zip
📦 Requirements
- Python 3.6+
questionary(installed automatically withpip install .)
🔭 Planned Features
- 🛠️ Custom folder mappings via config file (YAML/JSON)
- 📝 Logging of file moves for audit/history
- ♻️ Undo functionality in case you regret everything
📄 License
MIT License – do what you want, just don’t sell it to your grandma as your idea.
🤝 Contributing
Found a bug or want to add a cool feature? PRs are welcome.
Open an issue, fork the project, and let’s make directory chaos a thing of the past.
🧠 “Clutter is just postponed decisions. Let File Organizer decide for you.”
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 tydybit2-0.1.1.tar.gz.
File metadata
- Download URL: tydybit2-0.1.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f86c5f53f22ff1d2a1fc72a02a65647baf5384d9281e51d1b3166948a064e8cd
|
|
| MD5 |
2420d38379b68edcbe7923c02dfdb1fa
|
|
| BLAKE2b-256 |
889106d4e764c3ab4fa665454c36b75e152b05317f2d1e6e59036e9e6abf246b
|
File details
Details for the file tydybit2-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tydybit2-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
998223de136b785f4733f12006a1861b526a22e20f0d0aa73216e2beed9fa84b
|
|
| MD5 |
0ff1930cb99f1116c7f129635b986785
|
|
| BLAKE2b-256 |
ae98d5fac4b65a65a2756db8c5af9724bc01b0049b7df39603ccef3cd63f4437
|