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.1.tar.gz (4.5 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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file smartfileorganizerny-0.1.1.tar.gz.

File metadata

  • Download URL: smartfileorganizerny-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for smartfileorganizerny-0.1.1.tar.gz
Algorithm Hash digest
SHA256 771ddd6f976b4ec66992632b0a26050b17aa86593f67b466bcac7dd83ebeb65a
MD5 6bc7f8368933510ad39ddc457876d616
BLAKE2b-256 4ef6da0c6be58c9adbe78878ecd45e2f914789f62551b26322d339ca2dbce1a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartfileorganizerny-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d412a1738535d3e8736ad2171e3d47a2d2fbb5c1bbf598fe7c975a971637a850
MD5 e96e89b9c34f4034350bc773b64b2938
BLAKE2b-256 91fe93a0a5d36851f0ab5bc3ce00c5ce61d78cd873ee41beee3d2e8122ae84ed

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