A Python automation tool that organizes files in a folder based on their file types.
- Automatically sorts files into folders (Images, Documents, Videos, Music, etc.)
- Creates folders if they don't exist
- Handles duplicate file names
- Uses Object-Oriented Programming (OOP)
- Exception handling included
- Python
- os module
- shutil module
-
Clone the repository
-
Run the script:
python file_organizer.py
-
Enter the folder path you want to organize.
Before: folder/ file1.jpg doc.pdf song.mp3
After: folder/ Images/ Documents/ Music/
This project demonstrates Python automation, file handling, and system-level scripting — skills useful in cybersecurity, system administration, and DevOps.