Organize your files by type or date automatically
Project description
SmartFileOrganizer
SmartFileOrganizer is a flexible Python-based tool that helps you automatically organize files in any folder based on file type, date, or both — keeping your directories clean, efficient, and easy to navigate.
🚀 Features
- Organize files by:
- File Type (e.g., PDFs, Images, Executables)
- Date (e.g., organized into Year-Month folders)
- Combination of File Type and Date
- Customizable target folder (choose any folder you want)
- Automatically creates necessary subfolders if they don't exist
- Detailed logging of all operations
- Easy to schedule (with Task Scheduler, cron jobs, etc.)
📂 Example Folder Structures
By Type:
Downloads/
├── PDFs/
├── Images/
├── Videos/
By Date:
Downloads/
├── 2025-04/
├── 2025-05/
By Both:
Downloads/
├── PDFs/
│ ├── 2025-04/
│ ├── 2025-05/
├── Images/
│ ├── 2025-04/
│ ├── 2025-05/
🛠️ Requirements
- Python 3.7+
- Libraries:
- os
- shutil
- datetime
- logging
- (Optional: watchdog for real-time monitoring)
Install any additional dependencies with:
pip install -r requirements.txt
⚙️ How to Use
- Clone this repository:
git clone https://github.com/yourusername/SmartFileOrganizer.git
- Navigate to the project directory:
cd SmartFileOrganizer
- Run the script:
python main.py
- Follow the prompts to:
- Enter the folder path you want to organize
- Choose your preferred organization method (type, date, or both)
📅 Automation
- Windows: Set up a Task Scheduler job to run
main.pyperiodically - Linux/macOS: Set up a cron job (e.g., daily organization)
🚀 Project Badges
📜 License
This project is licensed under the MIT License — see the LICENSE file for details.
🤝 Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smartfileorganizerny-0.1.0.tar.gz.
File metadata
- Download URL: smartfileorganizerny-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
551cabb1dfa4967ee3d848bb707c0639e4149a3cf91ebb3e084d5b64a3ee40db
|
|
| MD5 |
6e78e399c86942f84206073e9a796418
|
|
| BLAKE2b-256 |
855131cce4794cd8a532456d5cb9fa883bb41a5101081a2d27b24bd1f2dae43e
|
File details
Details for the file smartfileorganizerny-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smartfileorganizerny-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac4c7af9fa013d13fde9ed761a147ccb720f88a5fe5e031ac9a6835baa69ce5c
|
|
| MD5 |
44ead8f577784b98de6000d4e89df672
|
|
| BLAKE2b-256 |
1d1dd5003da5cdb2c4264db01f290ee406b32815a7129f4e2540404e444a5cef
|