With your favourite text editor,
create a file
with the following contents:
# "Shredder" secure file delete for Nautilus
# Distributed under the terms of GNU GPL version 2 or later
# Dependency : zenity
# Please note that `shred' relies on a very important assumption:
# that the filesystem overwrites data in place. This is the traditional
# way to do things, but many modern filesystem designs do not satisfy
# this assumption.
# Exceptions exist, and are noted in shred's info manual.
# Type 'info shred' from a prompt to see the list.
SHRED_PATH=/usr/bin # Path to shred binary.
if dialog=`zenity --question --text "Are you sure you want to shred $1?"`
$SHRED_PATH/shred -zu "$1"
Then, make it executable with:
chmod 755 ~/.gnome2/nautilus-scripts/shred
Now, if you right-click on a file, there will be a "shred" option under Scripts.