On 12/12/2009, at 4:22 PM, Frank Bax wrote:

STeve Andre' wrote:
but am trying to come up with a reasonable way
of spotting duplicates, etc.

You mean like this...

$ cp /etc/firmware/zd1211-license /tmp/XX1
$ cp /var/www/icons/dir.gif /tmp/XX2
$ fdupes /etc/firmware/ /var/www/icons/ /tmp/
/tmp/XX2
/var/www/icons/dir.gif
/var/www/icons/folder.gif

<snip>


When comparing a very large number of files, the -1 flag to
fdupes makes it much to manage the output (IMO). Then each
line printed is a list of duplicate files.

But it depends on your own needs.


After seeing what you're trying to do, I'd say fdupes is a
perfect fit.


paulm

Reply via email to