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.4.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.4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smartfileorganizerny-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9855f73f2be8788e5c2d973386e3e868b70a6126c3f323de05591c1a70a720a0
MD5 525316eb76ebe2d0a01450f27c04a392
BLAKE2b-256 35a9cdcabdbee4b5d58307b8327a529ac610c367f7f2835b3c16a78be8f896e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartfileorganizerny-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6e43d582f32c8d6a64ccd590453ed9cd7bdb7cd3c932e20d9b12b93c5edab75
MD5 a9ff13321d13468af0bacff4275dd0d4
BLAKE2b-256 377c58a02a14753e9b494c0e30b75dc50afc328049913db72f169cde2495d979

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