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 by File Type: PDFs, Images, Videos, etc.
  • Organize by Date: Sort files into year-month folders.
  • Flexible Organization: Combine both type and date-based sorting.
  • Customizable Folder: Choose any target folder to organize.
  • Automatic Folder Creation: Creates subfolders automatically if they don't exist.
  • Detailed Logging: Provides logs for all operations.
  • Easy Scheduling: Can be run via Task Scheduler (Windows) or Cron Jobs (Linux/macOS).

🚀 Getting Started

You can use Smart File Organizer in two ways:


1. Install as a Python Package (Recommended)

  • Install from PyPI:

    pip install smartfileorganizerny
    
  • Use it directly in your code:

    from smartfileorganizerny import organizer
    
    organizer.start()
    

This is the easiest and most flexible way to use the project.


2. Clone the Repository

  • Clone the GitHub repository:

    git clone https://github.com/NikhilKKYakkala/SmartFileOrganizer.git
    cd SmartFileOrganizer
    
  • Install dependencies:

    pip install -r requirements.txt
    
  • Run the script manually:

    python src/main.py
    

Follow the on-screen prompts to specify the folder and preferred organization method.


📁 Example Folder Structures

By Type:

Downloads/
├── PDFs/
├── Images/
├── Videos/

By Date:

Downloads/
├── 2025-04/
├── 2025-05/

By Both Type and Date:

Downloads/
├── PDFs/
│   ├── 2025-04/
│   ├── 2025-05/
├── Images/
│   ├── 2025-04/
│   ├── 2025-05/

🔄 Automation

You can schedule Smart File Organizer to run automatically at specific intervals:

  • Windows: Use Task Scheduler
  • Linux/macOS: Use Cron Jobs

Example: Organize your "Downloads" folder every night automatically!


🚀 Project Badges

Python Version License Build Status Last Commit


🤝 Contributing

Contributions are welcome!

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-name).
  3. Make your changes.
  4. Submit a pull request.

Please follow best coding practices and update documentation as needed.


✨ Future Improvements

  • Duplicate File Detection and Management
  • File Encryption Option
  • Cloud Storage Integration (Google Drive, Dropbox, etc.)
  • Graphical User Interface (GUI)

📜 License

This project is licensed under the MIT License.

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.3.tar.gz (8.1 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.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartfileorganizerny-0.1.3.tar.gz
  • Upload date:
  • Size: 8.1 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.3.tar.gz
Algorithm Hash digest
SHA256 054bff79efd87ce7829ee850da38e34221e57eca1ba0aa408534a5f0befec8ea
MD5 ad16d032d79599ac854405154bd00df2
BLAKE2b-256 7f2e24dd65a98b6d7a08c8c18241e420db161827f3083a13ee80be41b78a4e60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartfileorganizerny-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 65bd6314b307038746a7b050f2b20b98c0b388dc1f7bbf9377c92bebee93f6c8
MD5 e0be0915d4595d5aefe8954d04a66ad7
BLAKE2b-256 ce0ef4f6cce5b21731d5fc38ebdd2cb40c25ffc84495c9537935418fb67ddfc7

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