How can I find identical files in a directory
... what I found so far was this:
$ md5sum .* * | sort -ub | less
[ ... ]
In the example above you can see that .bashrc and .bashrcdeleteit are,
as I hope, the same files (and it'll produce an error, if there's a
directory it can't process, IINM .... )
My goal is to get easily rid of identical files on a system: With the
incantation above this can become very cumbersome and time-consuming. So
perhaps it's good to have something like the output that a
diff -s <file> <file1>
is showing, with a report along the line of that <file> and <file1> are
identical, resp. that they differ, and then grep the identical ones.
Thanks in anticipation.
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer