Rsync backup using include & chars + )
I'm attempting to develop a backup script for my home server & the files I wish to back up look like this:
I'm able to back up the files using the find command in tandem with rsync, but I'd really like to use rsync's include option (not include-from). However, I cannot get it to find the right files when I run the following command:
Media/Video/Movies/Action/Movie 1 (+).m4v
Media/Video/Movies/Comedy/Movie 2 (HD,+).mp4
It just lists all files, which is a bit confusing. Can someone help me figure out why my filter isn't working as I think it should?
rsync -vrlEpoghtRn --include='*+).*' Media /ext/backupdrive