A simple CLI tool to organize files by extensions
Project description
File Organizer CLI ๐
A simple command-line tool to automatically organize files in a directory based on their extensions.
๐ Features
โ Automatically moves files into categorized folders based on extensions โ Supports all file types โ Avoids overwriting existing files โ Fast and lightweight
๐ฅ Installation
1๏ธโฃ Install via pip (Recommended)
pip install file-organizer-cli
2๏ธโฃ Install from Source
git clone https://github.com/yourusername/file-organizer-cli.git cd file-organizer-cli pip install --editable .
๐ง Usage
Basic Command
To organize files inside a folder:
arrange /path/to/folder
Example
Before running:
Downloads/ โโโ report.pdf โโโ music.mp3 โโโ photo.jpg
After running:
Downloads/ โโโ pdf/ โ โโโ report.pdf โโโ mp3/ โ โโโ music.mp3 โโโ jpg/ โ โโโ photo.jpg
๐ Development
If you want to modify this tool, follow these steps:
git clone https://github.com/yourusername/file-organizer-cli.git cd file-organizer-cli pip install --editable .
Now you can test changes by running:
arrange /path/to/folder
๐ License
This project is licensed under the MIT License.
๐ค Contributing
Feel free to open an issue or submit a pull request! ๐
๐ Notes
Ensure Python 3.6+ is installed.
Run pip uninstall file-organizer-cli to remove the package.
file_organizer/ โโโ file_organizer/ # Package source folder โ โโโ init.py # Marks it as a package โ โโโ organize.py # Your script โโโ setup.py # Setup script โโโ README.md # Project description โโโ LICENSE # (Optional) License file โโโ requirements.txt # (Optional) Dependencies
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 dirorganizer-1.0.3.tar.gz.
File metadata
- Download URL: dirorganizer-1.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9f5cb9a4807429fd76dcdd79c23470e70070405aefcdb2469c2fd0965390179
|
|
| MD5 |
3c661a7ef453edf2b410bff160d84f8b
|
|
| BLAKE2b-256 |
fc7b396f2699118c8a0512182f4ca1f32d66e12077b957cfe48815f1a3000889
|
File details
Details for the file dirorganizer-1.0.3-py3-none-any.whl.
File metadata
- Download URL: dirorganizer-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b6f1fbde81b7a5aa859334687349e9fb317a888930d98707e92b27889a422e5
|
|
| MD5 |
37a05ec404827d8227ccadcb5e5e77e2
|
|
| BLAKE2b-256 |
9ad1b7f00fe0f14f7fdcc4a091dfcef469576d3ed19f998a22ae77b3ec0bd98b
|