Changed one of the examples.
[finddup.git] / finddup.1
index 71e0e57..5eb5810 100644 (file)
--- a/finddup.1
+++ b/finddup.1
@@ -10,20 +10,22 @@ finddup \- Find files common to two directories (or not)
 
 .SH "SYNOPSIS"
 
 
 .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
 
 .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
 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
 
 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-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
 \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
@@ -71,11 +76,11 @@ running on different machines to reduce network disk accesses.
 
 .SH "EXAMPLES"
 
 
 .SH "EXAMPLES"
 
-.B finddup -cg blah something
+.B finddup -p0d blah
 
 .fi
 
 .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
 
 .P
 .B finddup sources not:/mnt/backup