Gentoo Archives: gentoo-user

From: Sascha Hlusiak <saschahlusiak@×××××.de>
To: gentoo-user@l.g.o
Cc: Andrey Vul <andrey.vul@×××××.com>
Subject: Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once
Date: Tue, 30 Sep 2008 16:58:04
Message-Id: 200809301855.27294.saschahlusiak@arcor.de
In Reply to: Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once by Andrey Vul
1 > However, I don't know how to use the output of "find cd-root -type f
2 > -or -type l | xargs sha1sum -b" to find duplicate files. Maybe someone
3 > can donate a perl/python script to find duplicate files and list them?
4 find . -type f -print0 | xargs -0 -L 1 md5sum | sort | uniq -w 20 -D
5
6 - Sascha