Skip to main content

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

  1. Clone this repository:
git clone https://github.com/yourusername/SmartFileOrganizer.git
  1. Navigate to the project directory:
cd SmartFileOrganizer
  1. Run the script:
python main.py
  1. 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.py periodically
  • Linux/macOS: Set up a cron job (e.g., daily organization)

🚀 Project Badges

Python Version License Build Status Last Commit

📜 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

smartfileorganizerny-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smartfileorganizerny-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for smartfileorganizerny-0.1.0.tar.gz
Algorithm Hash digest
SHA256 551cabb1dfa4967ee3d848bb707c0639e4149a3cf91ebb3e084d5b64a3ee40db
MD5 6e78e399c86942f84206073e9a796418
BLAKE2b-256 855131cce4794cd8a532456d5cb9fa883bb41a5101081a2d27b24bd1f2dae43e

See more details on using hashes here.

File details

Details for the file smartfileorganizerny-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for smartfileorganizerny-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac4c7af9fa013d13fde9ed761a147ccb720f88a5fe5e031ac9a6835baa69ce5c
MD5 44ead8f577784b98de6000d4e89df672
BLAKE2b-256 1d1dd5003da5cdb2c4264db01f290ee406b32815a7129f4e2540404e444a5cef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page