Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zerofill(1) [debian man page]

zerofill(1)							   GNU Telephony						       zerofill(1)

NAME
zerofill - clear unused disk space and blank devices. SYNOPSIS
zerofill [options] [devices] ... DESCRIPTION
This command is a relative of nullfile. Like nullfile, it can be used to write all unused disk space with '0', thereby making file systems that are stored on virtual machines easier to pack. In addition, zerofill can fill unused disk space with random data before zeroing, which can be useful to remove forensic trace of deleted files. Finally, zerofile can be told to operate on and zero (erase) complete disk devices. OPTIONS
--random=count Number of passes to use writing random data before wiping data. --help Outputs help screen for the user. AUTHOR
zerofill was written by David Sugar <dyfet@gnutelephony.org>. REPORTING BUGS
Report bugs to bug-commoncpp@gnu.org. COPYRIGHT
Copyright (C) 2010 David Sugar, Tycho Softworks. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. GNU uCommon January 2010 zerofill(1)

Check Out this Related Man Page

scrub-files(1)							   GNU Telephony						    scrub-files(1)

NAME
scrub-files - securely erase files by filling with random data first. SYNOPSIS
scrub [options] paths... DESCRIPTION
This command is used to securely erase files. This is accomplished by filling the file with random data in pre-sized chunks. Multiple passes of random data may also be used. The pre-sized chunks are used to remove information about exact original file size. Other options include random renaming of the original file before deletion and the use of truncation to break down meta-data on what blocks in the file system were originally associated with a securely deleted file. This is specifically intended to make it harder to perform forensic analy- sis on securely erased files. OPTIONS
--blocksize size Set the default block size (in 1 k increments) for scrub-files to use when writing random data. This effects both the final file length, which will be aligned to the specified size, and the way the truncate option decomposes files. The default is 1k. --follow Dereference and follow symlinks, erasing the target file. --passes=count The number of passes used when writing random data. The default is 1 pass. --recursive If argument is a directory, recursively scan directory and any subdirectory contents as arguments. --rename Rename the file randomly before deletion to clear persistant inode data. --truncate Decompose the file through truncation to break down file system page maps. --verbose Display each file being processed to the console. --help Outputs help screen for the user. AUTHOR
scrub-files was written by David Sugar <dyfet@gnutelephony.org>. REPORTING BUGS
Report bugs to bug-commoncpp@gnu.org. COPYRIGHT
Copyright (C) 2010 David Sugar, Tycho Softworks. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. GNU uCommon January 2010 scrub-files(1)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

remove text from string

I use the following command to know the create table structure. mysqldump myDBName myTBName -d --compact And I get the following output... CREATE TABLE `tblThreads` ( `threadID` smallint(4) unsigned zerofill NOT NULL auto_increment, `threadTitle` varchar(255) NOT NULL default '',... (7 Replies)
Discussion started by: shantanuo
7 Replies

2. Programming

Zero Fill 10 position field

Hi everyone, I am using shell scripting on a Unix SCO box. It calls a C program named zerofill. I do not know anything about C. I am having an issue with a hash total that should only be zero filled 10 positions but the record has 11 positions. DEBUG RESULTS + nice -n -5 bc -l /tmp/fhash8395... (0 Replies)
Discussion started by: ski
0 Replies

3. Shell Programming and Scripting

Zero fill a string

How do I zero fill a string. E.g pad a string to two digits m=`date "+%m"` pm=`expr $m - 1` echo $pm the above code echoes 1. I want it to echo 01. Any ideas? (3 Replies)
Discussion started by: timgolding
3 Replies

4. UNIX for Dummies Questions & Answers

CAT multiple files according to file name

I have a folder that contains a number of files with file names as follows: XX.YYYY..ZZZ.2014.001.000000 XX.YYYY..ZZZ.2014.001.000400 XX.YYYY..ZZZ.2014.001.000800 XX.YYYY..ZZZ.2014.001.001200 XX.YYYY..ZZZ.2014.001.001600 ..... XX.YYYY..ZZZ.2014.002.000000 XX.YYYY..ZZZ.2014.002.000400... (8 Replies)
Discussion started by: quakesrus
8 Replies