ubuntu:file:delete_duplicate_files
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:file:delete_duplicate_files [2020/02/01 14:33] – created peter | ubuntu:file:delete_duplicate_files [2022/06/13 10:22] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - File - Delete duplicate files ====== | ||
- | |||
- | <code bash> | ||
- | find . -regex '.* ([0-9]).*' | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | find " | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | |||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Using rdfind ===== | ||
- | |||
- | **Rdfind** stands for redundant data find; and is a free and open source utility to find duplicate files across and/or within directories and sub-directories. | ||
- | |||
- | It compares files based on their content, not on their file names. | ||
- | |||
- | Rdfind uses ranking algorithm to classify original and duplicate files. | ||
- | |||
- | Once it found the duplicates, it will report them to you. You can decide to either delete them or replace them with hard links or symbolic (soft) links. | ||
- | |||
- | <code bash> | ||
- | rdfind -deleteduplicates true ~/. | ||
- | </ | ||
ubuntu/file/delete_duplicate_files.1580567594.txt.gz · Last modified: 2020/07/15 09:30 (external edit)