Bash wrapper script for automated backups with duplicity supporting Amazon's S3 online storage as well as other storage destinations (ftp, rsync, sftp, local storage...).
My backup destination for the file:// backend had spaces in it. Since duplicity supports them but du does not, I added a step to urldecode the destination file path.
My backup destination for the
file://
backend had spaces in it. Sinceduplicity
supports them butdu
does not, I added a step to urldecode the destination file path.I added a small bash function to do the work.