1scrub-files(1) GNU Telephony scrub-files(1)
2
3
4
6 scrub-files - securely erase files by filling with random data first.
7
9 scrub [options] paths...
10
12 This command is used to securely erase files. This is accomplished by
13 filling the file with random data in pre-sized chunks. Multiple passes
14 of random data may also be used. The pre-sized chunks are used to
15 remove information about exact original file size. Other options
16 include random renaming of the original file before deletion and the
17 use of truncation to break down meta-data on what blocks in the file
18 system were originally associated with a securely deleted file. This
19 is specifically intended to make it harder to perform forensic analysis
20 on securely erased files.
21
23 --blocksize size
24 Set the default block size (in 1 k increments) for scrub-files
25 to use when writing random data. This effects both the final
26 file length, which will be aligned to the specified size, and
27 the way the truncate option decomposes files. The default is
28 1k.
29
30 --follow
31 Dereference and follow symlinks, erasing the target file.
32
33 --passes=count
34 The number of passes used when writing random data. The default
35 is 1 pass.
36
37 --recursive
38 If argument is a directory, recursively scan directory and any
39 subdirectory contents as arguments.
40
41 --rename
42 Rename the file randomly before deletion to clear persistant
43 inode data.
44
45 --truncate
46 Decompose the file through truncation to break down file system
47 page maps.
48
49 --verbose
50 Display each file being processed to the console.
51
52 --help Outputs help screen for the user.
53
55 scrub-files was written by David Sugar <dyfet@gnutelephony.org>.
56
58 Report bugs to bug-commoncpp@gnu.org or bugs@gnutelephony.org.
59
61 Copyright © 2010-2014 David Sugar, Tycho Softworks.
62 This is free software; see the source for copying conditions. There is
63 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
64 PURPOSE.
65
66
67
68
69
70GNU uCommon January 2010 scrub-files(1)