X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=finddup.1;h=5eb5810b20f287e4fc309fbb62aec6d84bd64436;hb=0ffe9973e6e6f34916c9e1015ad54932eebf3448;hp=e021a81c86d97ffda799304e5933459b73b2d191;hpb=630c461cbdb6610420863dcfe7af247d62bf004e;p=finddup.git diff --git a/finddup.1 b/finddup.1 index e021a81..5eb5810 100644 --- a/finddup.1 +++ b/finddup.1 @@ -10,20 +10,22 @@ finddup \- Find files common to two directories (or not) .SH "SYNOPSIS" -\fBfinddup\fP [OPTION]... DIR1 [[not:]DIR2] +\fBfinddup\fP [OPTION]... DIR1 [[and:|not:]DIR2] .SH "DESCRIPTION" With a single directory argument, \fBfinddup\fP prints the duplicated files found in it. With two directories, it prints either the files common to both DIR1 and DIR2, or with the `not:' prefix, the ones -present in DIR1 and not in DIR2. +present in DIR1 and not in DIR2. The and: prefix is assumed by default +and necessary only if you have a directory name starting with `not:'. -It compares files by first comparing their sizes, hence goes +This command compares files by first comparing their sizes, hence goes reasonably fast. When looking for identical files, \fBfinddup\fP associates by default -a group ID to every content, and prints it along the file names. +a group ID to every content, and prints it along the file names. Use +the \fB-g\fP to switch it off. Note that .B finddup DIR @@ -74,11 +76,11 @@ running on different machines to reduce network disk accesses. .SH "EXAMPLES" -.B finddup -cg blah something +.B finddup -p0d blah .fi -List files found in \fB./blah/\fR which have a matching file with same -content in \fB./something/\fR. Do not display the group IDs. +List duplicated files in directory ./blah/, show a progress bar, +ignore empty files and files and directories starting with a dot. .P .B finddup sources not:/mnt/backup