I'm creating a Nautilus Action to encrypt a file to my GPG key. I also have an action to use shred to securely delete a file. I'd like to combine those into one action so that anytime I encrypt a file, the original is automatically deleted.

Is this possible using Nautilus Actions or do I need to use a bash script?

Thanks!
Anthony