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