Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.14 KB

File metadata and controls

38 lines (27 loc) · 1.14 KB

📂 Simple File Organizer

A lightweight Python script that automatically organizes files in a folder by their extensions.

It scans a given directory, then moves files into categorized subfolders (e.g., .jpgImages, .pdfDocuments).
If duplicate filenames exist, it auto-renames them to avoid overwriting.


✨ Features

  • 📑 Organizes files into categories:

    • Images (.jpg, .png, .gif, .svg, ...)
    • Videos (.mp4, .mkv, .mov, ...)
    • Audio (.mp3, .wav, ...)
    • Documents (.pdf, .docx, .txt, ...)
    • Code (.py, .js, .html, ...)
    • Archives (.zip, .rar, .7z, ...)
    • Installers (.exe, .msi, .apk, ...)
    • Others (unknown extensions)
  • 🚀 Creates missing folders automatically.

  • 🔄 Handles file name conflicts (file.txt → file (1).txt).

  • 🔒 Skips locked files gracefully.

  • 📦 Works across platforms (Windows, Linux, macOS).


🛠️ Installation

  1. Clone this repo:
    git clone https://github.com/yourusername/file-organizer.git
    cd file-organizer

⭐ If you like this project, don't forget to star the repository! ⭐