lk/system/deduplicate.md
2025-02-12 15:01:15 +01:00

401 B

title tags
deduplicate
system
deduplicate
maintenance
storage

rdfind: find duplicate files, then delete them, or turn them into links.

Ask if a directory has duplicates (rdfind will not delete anything):

rdfind $dir
$EDITOR results.txt

Replace the duplicated files with hard links.

rdfind -makehardlinks true $dir