NASM - The Netwide Assembler

NASM Forum => Example Code => Topic started by: Zefferon on January 08, 2015, 07:13:11 AM

Title: Linux - Turn Files Into Dummies
Post by: Zefferon on January 08, 2015, 07:13:11 AM
The dummy program.

Overwrites the contents of a file with the word "DUMMY". The file
gets truncated as a result.

Comes in handy if you don't want to delete the files, but they're
taking up too much space.

The recovered sectors are likely to be overwritten.

Works on one file at a time or all the files in a dir.
Be carefull. Like rm's default mode, it doesn't prompt for confirmation.

The webpage is:
http://www.shallizar.com/nasmcollection/Linux/Shallizar/Apps/FileProcessors/dummy.html

The homepage is:
www.shallizar.com

The files can also be downloaded as a tarball:
http://www.shallizar.com/nasmcollection/Linux/nasmcoldnldlinux.html