+.TH "FINDDUP" 1 "Mar 2010" "Francois Fleuret" "User Commands"
+
\" This man page was written by Francois Fleuret <francois@fleuret.org>
\" and is distributed under a Creative Commons Attribution-Share Alike
\" 3.0 License.
-.TH "FINDDUP" 1 "Mar 2010" "Francois Fleuret" "User Commands"
-
.SH "NAME"
finddup \- Find files common to two directories (or not)
.SH "DESCRIPTION"
-With a single directory argument, \fBfinddup\fP prints the duplicate
+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
+common to both DIR1 and DIR2, or with the `not:' prefix, the ones
present in DIR1 and not in DIR2.
.SH "OPTIONS"
/*
- * finddup is a simple utility to display the files and directories
- * according to their total disk occupancy.
+ * finddup is a simple utility find duplicated files, files common to
+ * several directories, or files present in one directory and not in
+ * another one.
*
* Copyright (c) 2010 Francois Fleuret
* Written by Francois Fleuret <francois@fleuret.org>
void print_help(FILE *out) {
fprintf(out, "Usage: finddup [OPTION]... DIR1 [[not:]DIR2]\n");
fprintf(out, "Version %s (%s)\n", VERSION_NUMBER, UNAME);
- fprintf(out, "Without DIR2, lists duplicate files found in DIR1. With DIR2, lists files common to both directories. With the not: prefix, lists files found in DIR1 which do not exist in DIR2.\n");
+ fprintf(out, "Without DIR2, lists duplicated files found in DIR1. With DIR2, lists files common to both directories. With the not: prefix, lists files found in DIR1 which do not exist in DIR2.\n");
fprintf(out, "\n");
fprintf(out, " -h show this help.\n");
fprintf(out, " -r show the real file paths.\n");