Skip to content

Latest commit

Β 

History

History
33 lines (24 loc) Β· 931 Bytes

File metadata and controls

33 lines (24 loc) Β· 931 Bytes

🧹 Directory_Cleaner_Using_Automation

This is an automation script written in Python to detect and delete duplicate files in a given directory. It uses MD5 checksum hashing to find duplicates and supports scheduled cleaning at regular intervals.


πŸš€ Features

  • βœ… Detect duplicate files using MD5 checksum
  • πŸ—‘οΈ Automatically delete duplicate files
  • πŸ“ Supports any directory (absolute or relative path)
  • πŸ•’ Schedule duplicate file cleanup at user-defined time intervals
  • πŸ“œ Creates a log file with timestamps
  • 🧠 Includes Help (--h) and Usage (--u) command-line options

πŸ“¦ Requirements

  • Python 3.x
  • Modules used:
    • os
    • sys
    • hashlib
    • schedule
    • time

πŸ› οΈ How to Use

  • python DirectoryCleaner.py

πŸ’» Command-Line Usage

  • To run the script, use the following syntax in your terminal or command prompt: