How to quickly find duplicated files on linux?

Jan 9th, 2011 | Filed under gentoo

Just a quick direction to program -> fdupes
(on gentoo emerge fdupes -av)

fdupes -r movies_dir1 movies_dir2 > duplicates.txt

Above commands creates hashes of all files within specifies directories (-r recursive) and outputs that list to duplicates.txt. Now you can investigate that list and delete duplicates manualy.

You can also tell fdupes to delete files automatically or to be prompted.

No comments yet.

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image