Results 1 to 1 of 1
Hi,
I'm attempting to develop a backup script for my home server & the files I wish to back up look like this:
Code:
Media/Video/Movies/Action/Movie 1 (+).m4v
Media/Video/Movies/Comedy/Movie 2 (HD,+).mp4
...
- 04-15-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 1
Rsync backup using include & chars + )
Hi,
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:Code: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?Code:rsync -vrlEpoghtRn --include='*+).*' Media /ext/backupdrive


Reply With Quote