this app is a CLI (command line user interface) based which organizes around 40 + file formats and make you files clean and well organized
The CLI File Organizer is a Python script that automatically organizes files in a specified directory by categorizing them into predefined folders based on their file extensions.
- Categorizes files into predefined folders (Images, Videos, Documents, etc.)
- Creates folders if they donβt exist
- Moves files into respective folders based on their type
- Removes empty folders after organization
- Works on any directory specified by the user
- Python 3.x
shutil(built-in)os(built-in)
- Clone the repository:
git clone https://github.com/Burhanali2211/FileOrganizer.git cd file-organizer - Ensure you have Python installed:
python --version
- Run the script:
python file_organizer.py
- Enter the directory path when prompted.
The script organizes files into the following categories:
- Images (
.jpg,.png,.gif, etc.) - Videos (
.mp4,.mkv,.avi, etc.) - Documents (
.pdf,.docx,.txt, etc.) - Music (
.mp3,.wav,.aac, etc.) - Archives (
.zip,.rar,.7z, etc.) - Code (
.py,.java,.cpp,.html, etc.) - Executable Files (
.exe,.msi) - Arduino Scripts (
.ino) - Fritzing Files (
.fzp,.fzpz)
Feel free to contribute by adding more file categories or improving the script. Fork the repo and submit a pull request!
This project is open-source and available under the MIT License.
π Happy Organizing! π―