By using the command below, I intended to exclude three types of an archive with a name that consists of Backup, however, the files still get copied. Any idea what's the mistake?
duplicity --encrypt-key somekey --verbosity 8 --rsync-options "-avPt --delete --delete-excluded --exclude="*Backup*."{zip,tar,xz} --include="*/" --include="*" --rsync-path="sudo rsync"" source dest
I realize the --exclude
flag from duplicity
exist, but rsync
's more suit to my needs (multiple combinations of the flags achieve what I want). This will only be my last resort if using rsync's own flag is impossible.