https://github.com/tbarbette/refdup
Find and delete duplicate files in a folder using regex
https://github.com/tbarbette/refdup
duplicate duplicate-detection duplicate-files files regex
Last synced: 9 months ago
JSON representation
Find and delete duplicate files in a folder using regex
- Host: GitHub
- URL: https://github.com/tbarbette/refdup
- Owner: tbarbette
- License: bsd-3-clause
- Created: 2018-09-12T11:45:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T19:29:04.000Z (about 2 years ago)
- Last Synced: 2025-07-19T06:42:20.623Z (11 months ago)
- Topics: duplicate, duplicate-detection, duplicate-files, files, regex
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```