Rdfind Installation On A Debian, Ubuntu, Alpine, Kali, Fedora, Raspbian And MacOS

Rdfind Installation On A Debian, Ubuntu, Alpine, Kali, Fedora, Raspbian And MacOS

rdfind

Find files with duplicate content and get rid of them.

Maintainer: TANIGUCHI Takaki



Section: utils

Install rdfind

  • Debian apt-get install rdfind Click to copy
  • Ubuntu apt-get install rdfind Click to copy
  • Alpine OS apk add rdfind Click to copy
  • Kali Linux apt-get install rdfind Click to copy
  • Fedora dnf install rdfind Click to copy
  • Raspbian apt-get install rdfind Click to copy
  • macOS brew install rdfind Click to copy

Find files with duplicate content and get rid of them.

How to use rdfind?

Below are few example commands for rdfind that you can use in the terminal.

Identify all duplicates in a given directory and output a summary:
rdfind -dryrun true path/to/directoryClick to copy
Replace all duplicates with hardlinks:
rdfind -makehardlinks true path/to/directoryClick to copy
Replace all duplicates with symlinks/soft links:
rdfind -makesymlinks true path/to/directoryClick to copy
Delete all duplicates and do not ignore empty files:
rdfind -deleteduplicates true -ignoreempty false path/to/directoryClick to copy
Install the latest version of rdfind in Debian, Ubuntu, Alpine, Kali, Fedora, Raspbian and macOS from terminal. To install the rdfind just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of rdfind from the respository and install it in your computer/server.