|
1 | | -# Python-File-Organizer |
| 1 | +# 📂 Simple File Organizer |
| 2 | + |
| 3 | +A lightweight **Python script** that automatically organizes files in a folder by their **extensions**. |
| 4 | + |
| 5 | +It scans a given directory, then moves files into categorized subfolders (e.g., `.jpg` → **Images**, `.pdf` → **Documents**). |
| 6 | +If duplicate filenames exist, it auto-renames them to avoid overwriting. |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +## ✨ Features |
| 11 | + |
| 12 | +- 📑 Organizes files into categories: |
| 13 | + - **Images** (`.jpg, .png, .gif, .svg, ...`) |
| 14 | + - **Videos** (`.mp4, .mkv, .mov, ...`) |
| 15 | + - **Audio** (`.mp3, .wav, ...`) |
| 16 | + - **Documents** (`.pdf, .docx, .txt, ...`) |
| 17 | + - **Code** (`.py, .js, .html, ...`) |
| 18 | + - **Archives** (`.zip, .rar, .7z, ...`) |
| 19 | + - **Installers** (`.exe, .msi, .apk, ...`) |
| 20 | + - **Others** (unknown extensions) |
| 21 | +- 🚀 Creates missing folders automatically. |
| 22 | +- 🔄 Handles file name conflicts (`file.txt → file (1).txt`). |
| 23 | +- 🔒 Skips locked files gracefully. |
| 24 | +- 📦 Works across platforms (Windows, Linux, macOS). |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | +## 🛠️ Installation |
| 29 | + |
| 30 | +1. Clone this repo: |
| 31 | + ```bash |
| 32 | + git clone https://github.com/yourusername/file-organizer.git |
| 33 | + cd file-organizer |
| 34 | + ``` |
0 commit comments