Forrest logo
back to the fdupes tool

fdupes:tldr:f0350

fdupes: Search a directory recursively.
$ fdupes -r ${path-to-directory}
try on your machine

The command "fdupes" is a command-line tool used to find and identify duplicate files within a directory (and its subdirectories) on a system.

The "-r" flag is an option provided by the "fdupes" command which indicates that the search for duplicate files should be performed recursively, i.e., it will search for duplicates not only in the specified directory but also in all its subdirectories.

"${path-to-directory}" is a placeholder that should be replaced with the actual path to the directory you want to run the duplicate file search on. It represents the directory in which the "fdupes" tool will scan for duplicate files.

Therefore, running the command "fdupes -r ${path-to-directory}" will execute the "fdupes" command with the recursive option ("-r"), instructing it to scan the specified directory and all its subdirectories to find and list any duplicate files it encounters.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fdupes tool