duff – find duplicate files.
2013-03-19
99 words
1 min read
duff – description:
Description : Duff is a command-line utility for quickly finding d
uplicates in a
given set of files
and now time to execute :
find . -type f -print0|duff -e0|xargs -0
This will print a list of duplicate files. If you directly want to delete them then you can use them in a rm command directly like ::
rm $(find . -type f -print0|duff -e0)
Related articles
Related Articles:
- 2010/12/26 Empty a file
- 2010/12/19 Take a screenshot of the window the user clicks on and name the file the same as the window title
- 2013/01/28 lightweight pdf viewer – zathura.
- 2012/09/17 Ubuntu – Really force remove a package.
- 2012/08/29 using iTerm color schmes with gnome-terminal.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.