Refactored the application per some feedback on reddit.

This commit is contained in:
Chris Lane
2013-08-11 15:37:11 -04:00
parent 11ef3149cd
commit 39b1cf391f
22 changed files with 167 additions and 265 deletions

13
.cheat/shred Normal file
View File

@ -0,0 +1,13 @@
To shred a file (5 passes) and verbose output:
shred -n 5 -v file.txt
To shred a file (5 passes) and a final overwrite of zeroes:
shred -n 5 -vz file.txt
To do the above, and then truncate and rm the file:
shred -n 5 -vzu file.txt
To shred a partition:
shred -n 5 -vz /dev/sda
Remember that shred may not behave as expected on journaled file systems if file data is being journaled.