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: about 2 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T19:29:04.000Z (about 1 year ago)
- Last Synced: 2025-02-14T05:29:45.854Z (4 months ago)
- Topics: duplicate, duplicate-detection, duplicate-files, files, regex
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- 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 ...]]]
FOLDERFind duplicate files (using md5 hash) and delete the duplicate using regex for selection.
positional arguments:
FOLDER the folder to check for duplicatesoptional 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
```