Package: rdfind
Version: 1.2.4-1
Severity: important
Justification of 'important': too scary.
Did a test run, which gave me a fright. I've added a pipe to 'ts',
from 'moreutils' to show the timing, then piped it to 'nl' for line
numbering:
% rdfind -n true . | ts | nl
1 Feb 12 09:26:23 Now scanning ".", found 53937 files.
2 Feb 12 09:26:23 Now have 53937 files in total.
3 Feb 12 09:26:23 Removed 1425 files due to nonunique device and inode.
4 Feb 12 09:26:23 Now removing files with zero size from list...removed
863 files
5 Feb 12 09:26:23 Total size is 23159513157 bytes or 22 Gib
6 Feb 12 09:26:23 Now sorting on size:removed 14661 files due to unique
sizes from list.36988 files left.
7 Feb 12 09:26:57 Now eliminating candidates based on first bytes:removed
24848 files from list.12140 files left.
8 Feb 12 09:27:01 Now eliminating candidates based on last bytes:removed
3446 files from list.8694 files left.
9 Feb 12 09:27:12 Now eliminating candidates based on md5 checksum:removed
3128 files from list.5566 files left.
10 Feb 12 09:27:12 It seems like you have 5566 files that are not unique
11 Feb 12 09:27:12 Totally, 127 Mib can be reduced.
12 Feb 12 09:27:12 Now making results file results.txt
Line #3, the verb "Removed", line #4 "removing", et al. all imply that
the dryrun is actually removing files. The minute wait or so between
lines #6 & #8 was uncomfortable. A user wonders "suppose
there's a bug, and it's really removing stuff?" (Happily no files were
removed.)
Any 'dryrun' text should make it clear that no file system changes
are occurring. For example, line #3 might read:
1425 files with nonunique device and inode (try '-deleteduplicates true'
option to remove)
Etc. Or the whole output could be bracketed with disclaimers such as:
DRYRUN MODE: nothing is being removed, despite what the text below says:
...
DRYRUN MODE: nothing was removed, despite what the text above says:
Hope this helps...
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages rdfind depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-10 GCC support library
ii libnettle3 2.0-2 low level cryptographic library (s
ii libstdc++6 4.4.5-10 The GNU Standard C++ Library v3
rdfind recommends no packages.
rdfind suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]