From 53e31a1b26de7b33880e6860c1096f7d0284e0eb Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sun, 30 Jun 2013 19:00:11 +0200 Subject: [PATCH] Added a clarification when passing files instead of directories as arguments. --- finddup.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.20.1