|
NAMEsamearchive-lite - find identical files, while keeping archives intactSYNOPSISsamearchive-lite [-g size] [-m size] [-S sep] [-0qVv] dir1 dir2 [...]DESCRIPTIONsamearchive-lite reads the paths from the input from stdin and output the identical files. This program is written for the special case where each directory acts as an archive or backup. The output will only contain filename pairs that have the same relative path from the archive base.This version uses a lot less memory then samefile and is faster, but only find a partial set of identical files. It basicaly does 80% of the job, but does this in 50% of the time while using 10% of the resources compared to samearchive. The output will only contain filename pairs that have the same relative path. For each filename pair with identical contents, a line consisting of six fields is output: The size in bytes, two filenames, the character ``='' if the two files are on the same device, ``X'' otherwise, and the link counts of the two files. The output is sorted in reverse order by size as the primary key and a user defined field(s) as the secondary key. OPTIONS
EXAMPLESFind all identical files with in the system archives that live within the current working directory:% find system-arch1 | samearchive system-arch1 system-arch* DIAGNOSTICSinaccessible: <path> This is probably due to a 'permission denied' error on files or directories within the given path for which you have no read permission.unreadable: <path> The file could be opend for reading jet failed while reading. You shouldn't encounter such a warnings but if you do, and recieve more than a few, this could be very well due to failing hard disk. Skipped line path because it didn't start with %s. This indicates that the former path was skipped because the it didn't start with first argument on the command prompt. SEE ALSOsamearchive(1) samefile(1) samelink(1) find(1) ls(1)NOTESInput filenames must not have leading or trailing white space unless the white space is part of the filename.AUTHORAlex de Kruijff
Visit the GSP FreeBSD Man Page Interface. |