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

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartfileorganizerny-0.1.2.tar.gz
  • Upload date:
  • Size: 7.9 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.2.tar.gz
Algorithm Hash digest
SHA256 67e98c3723de0b1a784fae2aad589fac4d38c2f6e7387e10f3d377f61892c9ae
MD5 3cf10e618b3b3cb956f0462d19125cf4
BLAKE2b-256 8d5bed4d917327c09725a023a782c245f5bd7b30374c6db641dfc50bfcaf51f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartfileorganizerny-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7903bbe3c743529c00b57c31fe83b636750ab87180cd10f70111cb081f0300b9
MD5 554498247bf959c0e82da61f735df503
BLAKE2b-256 2fbe802121ec495326c3a7eee05ad94044e606b954dd6c637f088180dbe0e450

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