The Python File Organizer is a simple automation script that organizes your messy folders by file type. It automatically creates subfolders such as Images, Documents, Videos, Audio, Archives, Scripts, Config, Applications and moves files into the right place.
- β Automatically sorts files into categories
- β Creates subfolders if they don't exist
- β Console logs for confirmation of moved/skipped files
- β Easy to customize by editing file type extensions
- Images β
.jpg
,.jpeg
,.png
,.gif
- Documents β
.pdf
,.docx
,.txt
,.xlsx
,.pptx
- Videos β
.mp4
,.avi
,.mkv
- Audio β
.mp3
,.wav
- Archives β
.zip
,.rar
- Scripts β
.py
,.js
,.md
- Config β
.ini
- Applications β
.exe
Clone the repository:
git clone https://github.com/your-username/python-file-organizer-automation.git
cd python-file-organizer
- Open the script file
file_organizer.py
- Update the folder path (example:
C:\Users\xxx\xxx
) - Run the script:
python file_organizer.py
π Organizing files in: C:\Users\imran\Downloads
β
Moved: photo.jpg β Images
β
Moved: resume.docx β Documents
β
Moved: movie.mp4 β Videos
β οΈ Skipped (Unknown type): setup.tmp
β¨ Done! Total files moved: 5
Contributions, issues, and feature requests are welcome! Feel free to fork this repo and submit a pull request.
This project is licensed under the MIT License.
π€ Imran Ahmad π‘ Passionate about Python Automation and scripting for real-world productivity.