X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=finddup.1;h=3092d756ca655a5e6d53dfb31a7417bccb59f72f;hb=ee66d074b67bbd7a137acffc40175f3a689d3e0f;hp=71e0e57ce594c235737f251bdcc9e160ec37be79;hpb=834f5d0970d97555f204eea4897204db0511e86e;p=finddup.git diff --git a/finddup.1 b/finddup.1 index 71e0e57..3092d75 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 @@ -38,6 +40,9 @@ display help and exit \fB-d\fR ignore files and directories starting with a dot .TP +\fB-0\fR +ignore empty files +.TP \fB-c\fR do not show which files from DIR2 corresponds to files from DIR1 (hence, show only the files from DIR1 which have an identical twin in