Now able to list files existing in DIR1 which do not in DIR2.
[finddup.git] / finddup.1
index 36ae5a3..989cff9 100644 (file)
--- a/finddup.1
+++ b/finddup.1
@@ -10,7 +10,7 @@ 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 \- Find files common to several directories or not
 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"