From: Francois Fleuret Date: Mon, 8 Mar 2010 12:46:06 +0000 (+0100) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=da07c4f78dce0021ed889ea0db818cb55d96ceed;p=finddup.git Cosmetics. --- diff --git a/finddup.1 b/finddup.1 index d0c0eba..f88f42f 100644 --- a/finddup.1 +++ b/finddup.1 @@ -1,9 +1,9 @@ +.TH "FINDDUP" 1 "Mar 2010" "Francois Fleuret" "User Commands" + \" This man page was written by Francois Fleuret \" 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) @@ -14,9 +14,9 @@ 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" diff --git a/finddup.c b/finddup.c index 91079de..8d6e67a 100644 --- a/finddup.c +++ b/finddup.c @@ -1,7 +1,8 @@ /* - * 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 @@ -274,7 +275,7 @@ void start(const char *dirname1, const char *dirname2) { 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");