The following command does exactly what I want — It dumps an archive, excluding all of the files and directories that I don't want:
$ drush archive-dump --tar-options="--exclude=.git --exclude=*.psd --exclude=sites/default/files/styles/ --exclude=sites/default/files/private/backup_migrate/manual/"
Can anyone show me how to set these extra command-specific
archive-dump
tar-options
inside a site-alias array in aliases.drushrc.php
?
I've tried every variation I can think of, but I can't seem to get the syntax right.
Update Here is a gist with my full test setup including verbose output and -debug info.