Skip to content

Add Smart File Organizer utility script for automatic file categorization #2932

@sangampaudel530

Description

@sangampaudel530

Summary

Proposing to add a new Python utility script — Smart File Organizer — that automatically organizes files in a directory into categorized subfolders (e.g., Images, Documents, Videos, Audios, Archives, Scripts, Others).

Motivation

Users often have cluttered folders (like Downloads or Desktop) filled with mixed files. This tool improves file management by organizing them automatically based on file extensions.

Proposed Implementation

  • Create smart_file_organizer.py
  • Use standard libraries: os, shutil, argparse, time, datetime
  • Allow users to specify:
    • --path: directory to organize
    • --interval: time interval to re-run automatically (optional)
  • Categories supported: Images, Documents, Videos, Audios, Archives, Scripts, Others
  • Safe move operation with logging

Example Usage

python smart_file_organizer.py --path "C:\Users\YourName\Downloads" --interval 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions