tbarbette / refdup

Find and delete duplicate files in a folder using regex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

refdup

Find and delete duplicate files in a folder using regex to select which ones should be kept or deleted

usage: refdup.py [-h] [--dry-run] [--delete [DELETE [DELETE ...]]]
                 [--keep [KEEP [KEEP ...]]]
                 FOLDER

Find duplicate files (using md5 hash) and delete the duplicate using regex for selection.

positional arguments:
  FOLDER                the folder to check for duplicates

optional arguments:
  -h, --help            show this help message and exit
  --dry-run             Do a dry run
  --delete [DELETE [DELETE ...]]
                        List of regex to choose a file to delete
  --keep [KEEP [KEEP ...]]
                        List of regex to choose a file to keep

About

Find and delete duplicate files in a folder using regex

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%