Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7f5adfd

Browse files
adrianlopezrochejobermayr
authored andcommittedMay 18, 2000
fdupes-1.30
1 parent cc3df4d commit 7f5adfd

File tree

10 files changed

+310
-86
lines changed

10 files changed

+310
-86
lines changed
 

‎CHANGES

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
The following list, organized by fdupes version, documents changes
2+
to fdupes. Every item on the list includes, inside square brackets,
3+
a list of indentifiers referring to the people who contributed
4+
that particular item. When more than one person is listed the person
5+
who contributed the patch or idea appears first, followed by
6+
those who've otherwise worked on that item. For a list of
7+
contributors names and identifiers please see the CONTRIBUTORS file.
8+
9+
10+
Changes from 1.20 to 1.30
11+
12+
- Added size option to display size of duplicates. [LB, AL]
13+
- Added missing typecast for proper compilation under g++. [LB]
14+
- Better handling of errors occurring during retrieval
15+
of a file's signature. [KK, AL]
16+
- No longer displays an error message when specified
17+
directories contain no files. [AL]
18+
- Added red-black tree structure (experimental compile-time
19+
option, disabled by default). [AL]
20+
21+
Changes from 1.12 to 1.20
22+
23+
- Fixed bug where program would crash when files being
24+
scanned were named pipes or sockets. [FD]
25+
- Fix against security risk resulting from the use of a
26+
temporary file to store md5sum output. [FD, AL]
27+
- Using an external md5sum program is now optional. Started
28+
using L. Peter Deutsh's MD5 library instead. [FD, AL]
29+
- Added hardlinks option to distinguish between hard links
30+
and actual duplicate files. [FD, AL]
31+
- Added noempty option to exclude zero-length files
32+
from consideration [AL]
33+
34+
Changes from 1.11 to 1.12
35+
36+
- Improved handling of extremely long input on preserve
37+
prompt (delete option). [SSD, AL]
38+
39+
Changes from 1.1 to 1.11
40+
41+
- Started checking file sizes before signatures
42+
for better performance. [AB, AL]
43+
- Added fdupes manpage. [AB, AL]
44+
45+
Changes from 1.0 to 1.1
46+
47+
- Added delete option for semi-automatic deletion
48+
of duplicate files. [AL]

‎CONTRIBUTORS

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
1-
Adrian Bridgett <adrian.bridgett@iname.com>:
2-
- Provided the original version of the fdupes manpage.
3-
- Suggested comparing file sizes before calling
4-
md5sum program (big performance boost).
1+
The following people have contributed in some way to the development
2+
of fdupes. Please see the CHANGES file for detailed information
3+
on their contributions. Names are listed in alphabetical order.
54

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

11-
Frank DENIS aka Jedi/Sector One aka DJ Chrysalis <j@4u.net>:
12-
- Provided patch to fix bug where program would crash when
13-
files being scanned were named pipes or sockets.
14-
- Warned against security risk resulting from the use of a
15-
temporary file to store md5sum output. Suggested the use
16-
of RSARef instead of md5sum (author's note: used L. Peter
17-
Deutsch's MD5 message digest library instead of RSARef).
18-
- Provided patch to fix problem where false duplicates would
19-
be reported because of hard links. Unlike the symlinks
20-
issue described in the documentation, these false
21-
reports are not a threat to the data, just the link.
22-
(author's note: modified patch for correctness).

‎INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ page has changed from "/usr/man" to "/usr/local/man". If installing
1717
to the default location you should delete the old man page before
1818
proceeding. This file would be named "/usr/man/man1/fdupes.1".
1919

20-
A test directory has been included so you may familiarise yourself
20+
A test directory is included so that you may familiarise yourself
2121
with the way fdupes operates. You may test the program before
2222
installing it by issuing a command such as "./fdupes testdir"
2323
or "./fdupes -r testdir", just to name a couple of examples. Refer

‎Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ MANPAGEDIR = /usr/local/man
1313
#
1414
# VERSION determines the program's version number.
1515
#
16-
VERSION = "1.20"
16+
VERSION = "1.30"
1717

1818
#
1919
# To use the md5sum program for calculating signatures (instead of the
@@ -22,14 +22,20 @@ VERSION = "1.20"
2222
#
2323
#EXTERNAL_MD5 = -DEXTERNAL_MD5=\"md5sum\"
2424

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

2733
#####################################################################
2834
# no need to modify anything beyond this point #
2935
#####################################################################
3036

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

3440
install: fdupes
3541
cp fdupes $(INSTALLDIR)

‎README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ within specified directories.
66

77
Usage
88
--------------------------------------------------------------------
9-
fdupes [options] DIRECTORY...
9+
Usage: fdupes [options] DIRECTORY...
1010

1111
-r --recurse include files residing in subdirectories
1212
-q --quiet hide progress indicator
1313
-1 --sameline list duplicates on a single line
14+
-S --size show size of duplicate files
1415
-s --symlinks follow symlinks
1516
-H --hardlinks normally, when two or more files point to the same
1617
disk area they are treated as non-duplicates; this

‎TODO

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Verify correctness of red-black tree algorithm. Optimize.
2+
- Add quoting of filenames containing spaces when using --sameline.
13
- Fix problem where MD5 collisions will result in one of the
24
files not being registered (causing it to be ignored).
35

‎fdupes.1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ hide progress indicator
2727
.B -1 --sameline
2828
list duplicates on a single line
2929
.TP
30+
.B -S --size
31+
show size of duplicate files
32+
.TP
3033
.B -s --symlinks
3134
follow symlinked directories
3235
.TP

0 commit comments

Comments
 (0)