mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 04:50:40 +03:00
509 B
509 B
rdfind
Find files with duplicate content and get rid of them.
- Identify all duplicates in a given directory and output a summary:
rdfind -dryrun true {{path/to/directory}}
- Replace all duplicates with hardlinks:
rdfind -makehardlinks true {{path/to/directory}}
- Replace all duplicates with symlinks/soft links:
rdfind -makesymlinks true {{path/to/directory}}
- Delete all duplicates and do not ignore empty files:
rdfind -deleteduplicates true -ignoreempty false {{path/to/directory}}