where staging can be replaced by production depending of the environment you want, example.com is the name of the key in Trellis environment file (the same that you use to deploy a site) and mode is push or pull depending on what you want to do with the uploads. When mode is omitted, it will default to push.
I am getting this error:
msg: rsync: link_stat “/Users/btamm/Sites/vm/…/site/web/app/uploads/.” failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-45/rsync/main.c(992) [sender=2.6.9]
It can be a couple of things. The most frequent is permissions on some files or network problem. First, check if re-running the same command always give you the error. if not, it may have been a network error.
If you always get the error, add --verbose to the sync options of the playbook like that:
rsync_opts: --exclude=.DS_Store,--verbose
Check if it gives you more info to find the problem.