WipefileOverwrites files with patterns and random data, optionally deleting the file. Based on a shell script of the same name found at http://www.shelldorado.com/. Usage: wipefile.sh [options] [file...] Overwrites a file or files with different data. 5 operations are performed per pass. 1) Fill the file with 0x00. (Uses /dev/zero). 2) Fill the file with 0xFF. 3) Fill the file with 0XAA, binary 10101010. 4) Fill the file with 0x55, binary 01010101. 5) Use /dev/random to fill with random data. After each operation sync is called to force data to the disk. Use on networked file systems is not recommended. Options: -h This text. -p <pass> The number of passes to make. Default: 1 -q Quite mode. No output is generated, assumes -y. -r Remove the file(s) when finished. -u Use /dev/urandom instead of /dev/random. -y Do not request confirmation. Notes:
|