X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=finddup.1;h=3ae9a42e13e0603b97083281ec35d55f9b9fd43f;hb=574390d2a9daf2fb484baa4bae31cfc824c912f0;hp=36ae5a3de781881491f61d76f2c8446669b71dbb;hpb=86c8a0fee4858cf0798a6045991f1b98bb037d3e;p=finddup.git diff --git a/finddup.1 b/finddup.1 index 36ae5a3..3ae9a42 100644 --- a/finddup.1 +++ b/finddup.1 @@ -6,18 +6,24 @@ .SH "NAME" -finddup \- Find files common to several directories or not +finddup \- Find files common to two directories (or not) .SH "SYNOPSIS" -\fBfinddup\fP [OPTION]... [FILE]... +\fBfinddup\fP [OPTION]... DIR1 [[^]DIR2] .SH "DESCRIPTION" \fBfinddup\fP is a command line utility to find duplicate files, files -common to two directories or files existing in one directories and not +common to two directories or files existing in one directory 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"