I am not a seasoned Ubuntu admin, so please bear with me if I am missing something obvious...
Many WebDAV-providers supply usernames as "firstname.lastname@example.org". Although this does not seem to be RFC-compliant, users have to live with that anyway...
Many WebDAV backends ignore duplicity's FTP_PASSWORD environment variable.
Duplicity works OK when providing cleartext password from CLI, e.g.
duplicity /localdir webdavs://'email@example.com':firstname.lastname@example.org/remotedir
However, I do not want to use my cleartext password in the command line process so that other users might not spoof it from the process list
Trying to use duplicity from a shell script (bash), without using the cleartext password in the command, e.g.
PWVARIABLE='cleartextpassword' duplicity /localdir webdavs://'email@example.com':$PWVARIABLE@webdavname.provider.tld/remotedir
I always run into parsing problems of the juxtaposed "@" symbol which, together with the WebDAV URL, will be parsed into the variable name. This does not seem to be relieved by exchanging "%40" for "@" as duplicity (or bash?) do not seem to parse this in a useful manner.
Is there a workable syntax for this? Any help is greatly appreciated!