I'm playing around with duplicity via a script that looks like this:
export PASSPHRASE=SomeLongGeneratedHardToCrackKey
duplicity /etc scp://[email protected]/etc
unset PASSPHRASE
Here's a link to the ubuntu documentation.
If I want to set the PASSPHRASE from the command line instead of setting it from the script how do I do that?
I tried (Via the command line):
PASSPHRASE='SomeLongGeneratedHardToCrackKey'
export -n PASSPHRASE
However this does not work. Duplicity still asks me to enter the passphrase for the gpg key.
Thoughts? TIA,
Ole
-n(see (help export) for details).