Just another WordPress site

a little bit paranoid

tomorrow my provider will shutdown my old server. enough reason for me to wipe clean my sensitive data. but how? i was looking around and found some possible solutions [1,2]:

srm – securely remove files or directories

wipe – securely erase files from magnetic media

shred – overwrite a file to hide its contents, and optionally delete it

i’ve decided to use shred. the next thing i have to look after was my ext3 mount option. my luck – it was the default value: “data=ordered”, so shred would work properly! unfortunately shred isn’t able to remove directories, so it was necessary to tweak a little bit. here is the final command [3]:

find -type f -execdir shred -ufzv -n8 {} +

and if you want to remove the current directory and show the others, here we are: