rdfind
Find files with duplicate content and get rid of them. More information: <https://rdfind.pauldreik.se>.
Install
- All systems
-
curl cmd.cat/rdfind.sh
- Debian
-
apt-get install rdfind - Ubuntu
-
apt-get install rdfind -
Alpine
-
apk add rdfind - Kali Linux
-
apt-get install rdfind - Fedora
-
dnf install rdfind - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install rdfind - OS X
-
brew install rdfind - Raspbian
-
apt-get install rdfind - Docker
-
docker run cmd.cat/rdfind rdfindpowered by Commando
Find files with duplicate content and get rid of them. More information: <https://rdfind.pauldreik.se>.
-
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
© tl;dr; authors and contributors