A lightweight Python utility that automatically organizes files into categorized folders based on their file extensions.
- 📂 Automatic file organization
- 🐍 Pure Python implementation
- ⚡ Lightweight and easy to use
- 📁 Extension-based categorization
- 🛡️ Basic error handling
Smart File Organizer is a simple automation tool that scans a directory and automatically moves files into categorized folders based on their file extensions.
The project demonstrates practical file system automation using Python and serves as a foundation for more advanced file management applications.
flowchart LR
A[Target Folder]
B[Scan Files]
C[Detect Extension]
D[Create Folder]
E[Move File]
A --> B
B --> C
C --> D
D --> E
- Scan files inside a directory
- Detect file extensions
- Automatically create destination folders
- Move files into categorized folders
- Basic exception handling
- Python
- pathlib
- shutil
- os
Originally developed as part of CS351 – AI-Assisted Software Development at Yuan Ze University.
The complete coursework repository is available here:
👉 https://github.com/WaterMinh/11402_CS351
python3 main.py