-
Notifications
You must be signed in to change notification settings - Fork 8
/
TODO
72 lines (49 loc) · 1.64 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
- A bug with -S shows wrong results.
- A bug causes the following behavior:
$ fdupes --symlinks testdir
testdir/with spaces b
testdir/with spaces a
testdir/zero_b
testdir/zero_a
testdir/symlink_two
testdir/twice_one
$ cp testdir/two testdir/two_again
$ fdupes --symlinks testdir
testdir/two_again
testdir/two
testdir/twice_one
testdir/symlink_two
testdir/with spaces b
testdir/with spaces a
testdir/zero_b
testdir/zero_a
** This is not the desired behavior. Likewise:
$ fdupes testdir
testdir/with spaces b
testdir/with spaces a
testdir/zero_b
testdir/zero_a
testdir/twice_one
testdir/two
$ fdupes --symlinks testdir
testdir/with spaces b
testdir/with spaces a
testdir/zero_b
testdir/zero_a
testdir/symlink_two
testdir/twice_one
- Don't assume that stat always works.
- Add partial checksumming where instead of MD5ing whole
files we MD5 and compare every so many bytes, caching
these partial results for subsequent comparisons.
- Option -R should not have to be separated from the rest,
such that "fdupes -dR testdir", "fdupes -d -R testdir",
"fdupes -Rd testdir", etc., all yield the same results.
- Add option to highlight or identify symlinked files (suggest
using --classify to identify symlinks with @ suffix... when
specified, files containing @ are listed using \@).
- Consider autodeletion option without user intervention.
- Consider option to match only to files in specific directory.
- Do a little commenting, to avoid rolling eyes and/or snickering.
- Fix problem where MD5 collisions will result in one of the
files not being registered (causing it to be ignored).