From: Francois Fleuret Date: Sun, 30 Jun 2013 17:00:11 +0000 (+0200) Subject: Added a clarification when passing files instead of directories as arguments. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=53e31a1b26de7b33880e6860c1096f7d0284e0eb;p=finddup.git Added a clarification when passing files instead of directories as arguments. --- diff --git a/finddup.1 b/finddup.1 index 334b586..dbe9641 100644 --- a/finddup.1 +++ b/finddup.1 @@ -10,7 +10,7 @@ finddup \- Find files common to two directories (or not) .SH "SYNOPSIS" -\fBfinddup\fP [OPTION]... [DIR1 [[and:|not:]DIR2]] +\fBfinddup\fP [OPTION]... [DIR-OR-FILE1 [[and:|not:]DIR-OR-FILE2]] .SH "DESCRIPTION" @@ -21,7 +21,8 @@ one as default. 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. The `and:' prefix is assumed by default and necessary only if -you have a directory name starting with `not:'. +you have a directory name starting with `not:'. Files are handled like +directories containing a single file. This command compares files by first comparing their sizes, hence goes reasonably fast.