X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=finddup.1;h=989cff9330e5164b1f1b81116602c1b58d41e4ad;hb=2eac88f904b6f292a65d909e40e48eae62e3f8ac;hp=9c5afdad212696e208d7aab8bbd16ead4c1b9db4;hpb=480a3e88ef9e55ccd351acb7fa21d231434ce062;p=finddup.git diff --git a/finddup.1 b/finddup.1 index 9c5afda..989cff9 100644 --- a/finddup.1 +++ b/finddup.1 @@ -6,11 +6,11 @@ .SH "NAME" -finddup \- A simple command line utility for size-sorting files +finddup \- Find files common to several directories or not .SH "SYNOPSIS" -\fBfinddup\fP [OPTION]... [FILE]... +\fBfinddup\fP [OPTION]... DIR1 [[^]DIR2] .SH "DESCRIPTION" @@ -18,6 +18,12 @@ finddup \- A simple command line utility for size-sorting files common to two directories or files existing in one directories and not in another one. +With a single directory argument, prints the duplicate files found in +it. With two directories, prints the files common to both. + +If the second directory name starts with a ^, prints the files +existing in DIR1 which do not exist in DIR2. + .SH "OPTIONS" .TP \fB-h\fR @@ -28,7 +34,8 @@ shows the real path of the files .SH "BUGS" -None known, probably many though. +Every pair of different files with same content are listed, which +results in K^2 printed lines when K files are similar. .SH "AUTHOR"