Skip to content

alphapriyanshu/File-Automation-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‚οΈ Automated File Organizer using Python

A simple yet powerful Python script that automatically organizes your downloads folder by monitoring file changes and moving them into appropriate subfolders (audio, video, images, documents, etc.) using the watchdog library.


πŸ“ Features

  • πŸ“¦ Real-time folder monitoring
  • 🎡 Automatically detects and moves audio (music/SFX) files
  • 🎬 Sorts video files to a dedicated directory
  • πŸ–ΌοΈ Organizes images into an image folder
  • πŸ“„ Moves documents like PDFs, Word, Excel, etc.
  • 🧠 Intelligent size-based detection for SFX vs Music
  • πŸ’₯ Handles file name conflicts with unique renaming


πŸ”§ Tech Stack

  • 🐍 Python 3
  • πŸ“¦ watchdog
  • πŸ“‚ os, shutil, time, logging

πŸ§ͺ How It Works

  1. Watches the Downloads directory continuously.
  2. When a file is added or modified, it checks its type and moves it:
    • .mp3, .wav β†’ /music or /sfx (based on size)
    • .mp4, .avi, etc. β†’ /video
    • .jpg, .png, etc. β†’ /image
    • .pdf, .docx, .xlsx, etc. β†’ /documents
  3. If a file with the same name exists in the destination, a unique name is generated (e.g., file(1).pdf).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages