Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easier encryption and decryption of files and folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easier encryption and decryption of files and folders
Authored by: bitwiseshiftleft on May 22, '03 04:03:54AM

oh, hmmm. it seems he deletes the folder too... but I would argue that this is not optimal (although one could add a simple && rm -r $* to my script). What one should do rather, if one wants to delete them at all, is overwrite them (n times with specific data if you're really paranoid) and then rm them. The wipe command in PGP does this, or you can write a simple shell/perl script or c program to do it. Heck, you can do it with find, a for loop, and dd.

I actually have a tar+gpg option in my standard backup script for stuff like email and chat logs, although it works rather differently due to modularity and slightly different goals. I'm not worried about my hard disk being compromised, but rather about the rather personal info which would be on the backup cd.



[ Reply to This | # ]
Easier encryption and decryption of files and folders
Authored by: amacaulay on Jul 17, '03 02:29:03AM

or use rm -P

"-P Overwrite regular files before deleting them. Files are
overwritten three times, first with the byte pattern 0xff,
then 0x00, and then 0xff again, before they are deleted."



[ Reply to This | # ]