IamRudraPatel / Folder-Organizer

This Python script organizes files within a folder by sorting them into specific categories like images, videos, audio files, documents, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“ Folder Organizer

This Python script organizes files within a folder by sorting them into specific categories like images, videos, audio files, documents, and more.

πŸ› οΈ Features

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)

πŸš€ How to Use

  1. Clone this repository to your local machine:
git clone https://github.com/IamRudraPatel/Folder-Organizer
  1. Navigate to the project directory:
cd Folder-Organizer
  1. Run the script:
python FolderOrganizer.py
  1. Type/Paste path of your folder which you want to organize.

🎨 Customization

Feel free to modify the script to support additional file types or customize the folder structure according to your needs.

ℹ️ Note

β€’ 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! πŸ“πŸ”–

About

This Python script organizes files within a folder by sorting them into specific categories like images, videos, audio files, documents, and more.

License:MIT License


Languages

Language:Python 100.0%