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! ๐๐