Skip to content

imranc07/python-file-organizer-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

📂 Python File Organizer

Python License


📌 About

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.


🚀 Features

  • ✅ 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

🛠️ Supported File Types

  • 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

📦 Installation

Clone the repository:

git clone https://github.com/your-username/python-file-organizer-automation.git cd python-file-organizer

📜 Usage

  1. Open the script file file_organizer.py
  2. Update the folder path (example: C:\Users\xxx\xxx)
  3. Run the script:
python file_organizer.py

📸 Example Output

📂 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 

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork this repo and submit a pull request.


📄 License

This project is licensed under the MIT License.


🙌 Author

👤 Imran Ahmad 💡 Passionate about Python Automation and scripting for real-world productivity.

🔗 LinkedIn 🔗 GitHub 🔗 Dev.to 🔗 Portfolio