From 805a153ad6c5910589b88140718f8ae276e041b2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 25 Apr 2010 07:15:58 +1200 Subject: Add a rudimentary manpage. --- dupfiles.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dupfiles.1 diff --git a/dupfiles.1 b/dupfiles.1 new file mode 100644 index 0000000..5cf9b35 --- /dev/null +++ b/dupfiles.1 @@ -0,0 +1,49 @@ +.\" Copyright 2010 Lars Wirzenius +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.TH DUPFILES 1 +.SH NAME +dupfiles \- find identical files and optionally hardlink them +.SH SYNOPSIS +.B dupfiles +.RB [ --make-hardlinks ] +.RB [ --progress ] +.SH DESCRIPTION +.B dupfiles +finds files that have identical content. +By default, it writes out the names of the files, +grouped together, +with groups separated by empty lines. +.PP +It can optionally hardlink the files so that they use less disk space. +Note that after hardlinking, the files are the same file: +if you modify one, both names show the modified file. +Thus, if you the files should not be the same file, but just copies of +each other, do not hardlink them together. +.SH OPTIONS +.TP +.BR --progress +Report progress while program is running. +.TP +.BR --make-hardlinks +Instead of reporting files that have been found, +make sure all names point at the same content. +FIXME. +.SH EXAMPLE +To find all duplicate packages in Debian and Ubuntu: +.IP +dupfiles /mirrors/debian /mirrors/ubuntu +.SH "SEE ALSO" +.BR fdupes (1). -- cgit v1.2.1