This Python script organizes files within a folder by sorting them into specific categories like images, videos, audio files, documents, and more.
The script scans a specified folder ('input_folder') and identifies the type of each file by its extension. It then organizes these files into respective subfolders within the same 'input_folder'.
Currently, the script categorizes files based on their extensions into the following categories:
• 🖼️ Images Files (.jpg, .png, .gif, .bmp, etc.)
• 🎥 Videos Files (.mp4, .avi, .mov, .mkv, etc.)
• 🎵 Audio Files(.mp3, .wav, .m4a, .ogg, etc.)
• 📄 Documents Files (.pdf, .docx, .csv, .pptx, etc.)
• 💻 Code Files (.py, .java, .cpp, .js, .html, .css, etc.)
• 📊 Data Files (.txt, .json, .db, .sql, etc.)
• 🗃️ Archives Files (.zip, .rar, .tar.gz, .7z, etc.)
• 📦 Others Files (Backup Files, Font Files, Excecutable Files, System/Config Files)
- Clone this repository to your local machine:
git clone https://github.com/IamRudraPatel/Folder-Organizer
- Navigate to the project directory:
cd Folder-Organizer
- Run the script:
python FolderOrganizer.py
- Type/Paste path of your folder which you want to organize.
Feel free to modify the script to support additional file types or customize the folder structure according to your needs.
• Make sure to provide the correct path to your desired folder.
• The script will create subfolders within the 'input_folder' and organize files accordingly.
Thank you for using Folder Organizer! 📁🔖