On Sat, Apr 13, 2002 at 03:18:47AM -0500, Alex Malinovich wrote: > My desktop system is used by 3 users, each having a few thousand files > in their home directory. Since we primarily have the same interests, > there are a LOT of duplicates to be found. Earlier I found an mpeg movie > that all three of us had that was 120 MB. That's 240 MB of wasted space. > Unfortunately, the files won't always have the same filename. Does > anyone know of a utility that can go through and search for files with > the same size and/or date and delete them or notify me?
Maybe something combining "find", "md5sum", "sort", and "join"? $ find /home/<user>/ -type f -exec md5sum \{} \; > /tmp/<user>.md5sums $ sort /tmp/<user>.md5sums > /tmp/<user>.sorted $ join /tmp/<user1>.sorted /tmp/<user2>.sorted > /tmp/matches. -- Eric G. Miller <egm2@jps.net> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]