bash scripting help

Sébastien Maerten maerten.sebastien at laposte.net
Thu Mar 24 13:31:49 PST 2005


Stefan Krah wrote:

> -maxdepth would be `man find`. ;)

Hoped nobody would notice :( I'm caught

>>BTW, if anybody has a "better" tool than jhead for that, I'd appreciate
>>to know about it.
> 
> For the copied/renamed files you could use md5sum to find duplicates:
> 
> find . -type f -print0 | xargs -0 md5sum | sort | uniq -w 32 -D

Argh ! man sort man uniq (those are easy I hope).

Thanks.



More information about the lfs-chat mailing list