List duplicate files in a directory in Unix

2019-05-28 10:51发布

问题:

Is there any unix commands that can display duplicate files in a particular directory.kindly let me know your comments.

回答1:

You should be able to use fdupes to achieve this.

fdupes ./directory

That should list all the duplicate files in a directory, you can also pass it -r for a recursive scan into subdirectories.