If I send this message and attached file interactively I can encrypt it just fine. But I am looking for a way to do the same thing from the command line - so using an extra switch to request encryption ... or setting up something in the 'muttrc' file
This is to do a cron job backup of this file (encrypted) into my email as part of my disaster recovery setup.
I am looking for a description of how to request PGP encryption of an outgoing message in batch mode with mutt.
The command I have been using is : (${VER} is already set)
echo "${USER} spreadsheet ${VER}" | mutt -s "Re: spreadsheet: ${VER}" -a ROH-my-file-${VER}.ods -- ron.ohara54@gmail.com
If I send this message and attached file interactively I can encrypt it just fine. But I am looking for a way to do the same thing from the command line - so using an extra switch to request encryption ... or setting up something in the 'muttrc' file
This is to do a cron job backup of this file (encrypted) into my email as part of my disaster recovery setup.
Any pointers ?