Skip to content

Commit

Permalink
fdupes-1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlopezroche authored and jobermayr committed May 18, 2000
1 parent cc3df4d commit 7f5adfd
Show file tree
Hide file tree
Showing 10 changed files with 310 additions and 86 deletions.
48 changes: 48 additions & 0 deletions CHANGES
@@ -0,0 +1,48 @@
The following list, organized by fdupes version, documents changes
to fdupes. Every item on the list includes, inside square brackets,
a list of indentifiers referring to the people who contributed
that particular item. When more than one person is listed the person
who contributed the patch or idea appears first, followed by
those who've otherwise worked on that item. For a list of
contributors names and identifiers please see the CONTRIBUTORS file.


Changes from 1.20 to 1.30

- Added size option to display size of duplicates. [LB, AL]
- Added missing typecast for proper compilation under g++. [LB]
- Better handling of errors occurring during retrieval
of a file's signature. [KK, AL]
- No longer displays an error message when specified
directories contain no files. [AL]
- Added red-black tree structure (experimental compile-time
option, disabled by default). [AL]

Changes from 1.12 to 1.20

- Fixed bug where program would crash when files being
scanned were named pipes or sockets. [FD]
- Fix against security risk resulting from the use of a
temporary file to store md5sum output. [FD, AL]
- Using an external md5sum program is now optional. Started
using L. Peter Deutsh's MD5 library instead. [FD, AL]
- Added hardlinks option to distinguish between hard links
and actual duplicate files. [FD, AL]
- Added noempty option to exclude zero-length files
from consideration [AL]

Changes from 1.11 to 1.12

- Improved handling of extremely long input on preserve
prompt (delete option). [SSD, AL]

Changes from 1.1 to 1.11

- Started checking file sizes before signatures
for better performance. [AB, AL]
- Added fdupes manpage. [AB, AL]

Changes from 1.0 to 1.1

- Added delete option for semi-automatic deletion
of duplicate files. [AL]
29 changes: 9 additions & 20 deletions CONTRIBUTORS
@@ -1,22 +1,11 @@
Adrian Bridgett <adrian.bridgett@iname.com>:
- Provided the original version of the fdupes manpage.
- Suggested comparing file sizes before calling
md5sum program (big performance boost).
The following people have contributed in some way to the development
of fdupes. Please see the CHANGES file for detailed information
on their contributions. Names are listed in alphabetical order.

Steven S. Dick <ssd@nevets.oau.org>:
- Provided patch for better handling of extremely long
input on preserve prompt (author's note: modified
Steven's patch to handle input a bit differently).
[AB] Adrian Bridgett <adrian.bridgett@iname.com>
[AL] Adrian Lopez <adrian2@caribe.net>
[FD] Frank DENIS aka Jedi/Sector One aka DJ Chrysalis <j@4u.net>
[KK] Kresimir Kukulj <madmax@pc-hrvoje.srce.hr>
[LB] Laurent Bonnaud <Laurent.Bonnaud@iut2.upmf-grenoble.fr>
[SSD] Steven S. Dick <ssd@nevets.oau.org>

Frank DENIS aka Jedi/Sector One aka DJ Chrysalis <j@4u.net>:
- Provided patch to fix bug where program would crash when
files being scanned were named pipes or sockets.
- Warned against security risk resulting from the use of a
temporary file to store md5sum output. Suggested the use
of RSARef instead of md5sum (author's note: used L. Peter
Deutsch's MD5 message digest library instead of RSARef).
- Provided patch to fix problem where false duplicates would
be reported because of hard links. Unlike the symlinks
issue described in the documentation, these false
reports are not a threat to the data, just the link.
(author's note: modified patch for correctness).
2 changes: 1 addition & 1 deletion INSTALL
Expand Up @@ -17,7 +17,7 @@ page has changed from "/usr/man" to "/usr/local/man". If installing
to the default location you should delete the old man page before
proceeding. This file would be named "/usr/man/man1/fdupes.1".

A test directory has been included so you may familiarise yourself
A test directory is included so that you may familiarise yourself
with the way fdupes operates. You may test the program before
installing it by issuing a command such as "./fdupes testdir"
or "./fdupes -r testdir", just to name a couple of examples. Refer
Expand Down
12 changes: 9 additions & 3 deletions Makefile
Expand Up @@ -13,7 +13,7 @@ MANPAGEDIR = /usr/local/man
#
# VERSION determines the program's version number.
#
VERSION = "1.20"
VERSION = "1.30"

#
# To use the md5sum program for calculating signatures (instead of the
Expand All @@ -22,14 +22,20 @@ VERSION = "1.20"
#
#EXTERNAL_MD5 = -DEXTERNAL_MD5=\"md5sum\"


#
# This version of fdupes can use a red-black tree structure to
# store file information. This is disabled by default, as it
# hasn't been optimized or verified correct. If you wish to
# enable this untested option, uncomment the following line.
#
#EXPERIMENTAL_RBTREE = -DEXPERIMENTAL_RBTREE

#####################################################################
# no need to modify anything beyond this point #
#####################################################################

fdupes: fdupes.c md5/md5.c
gcc fdupes.c md5/md5.c -o fdupes -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5)
gcc fdupes.c md5/md5.c -Wall -o fdupes -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE)

install: fdupes
cp fdupes $(INSTALLDIR)
Expand Down
3 changes: 2 additions & 1 deletion README
Expand Up @@ -6,11 +6,12 @@ within specified directories.

Usage
--------------------------------------------------------------------
fdupes [options] DIRECTORY...
Usage: fdupes [options] DIRECTORY...

-r --recurse include files residing in subdirectories
-q --quiet hide progress indicator
-1 --sameline list duplicates on a single line
-S --size show size of duplicate files
-s --symlinks follow symlinks
-H --hardlinks normally, when two or more files point to the same
disk area they are treated as non-duplicates; this
Expand Down
2 changes: 2 additions & 0 deletions TODO
@@ -1,3 +1,5 @@
- Verify correctness of red-black tree algorithm. Optimize.
- Add quoting of filenames containing spaces when using --sameline.
- Fix problem where MD5 collisions will result in one of the
files not being registered (causing it to be ignored).

3 changes: 3 additions & 0 deletions fdupes.1
Expand Up @@ -27,6 +27,9 @@ hide progress indicator
.B -1 --sameline
list duplicates on a single line
.TP
.B -S --size
show size of duplicate files
.TP
.B -s --symlinks
follow symlinked directories
.TP
Expand Down

0 comments on commit 7f5adfd

Please sign in to comment.