Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sync, what did i do wrong?
#1
The exclude statement did not work. I don't have a lot of experience with rsync and would appreciate some advice.

rsync --verbose -r --delete-before --ignore-existing --exclude=/Volumes/Drobo/iTunes/TV\ Shows /Volumes/Drobo/iTunes/Movies /Volumes/Drobo/iTunes/ /Volumes/MusicBackup/
Reply
#2
I think I figured it out. The exclude directories must be relative to the source directory rather than spelling out the entire path. Running now and will know in the morning if I got it right.

rsync --verbose -r --delete-before --ignore-existing --exclude='Automatically Add to iTunes/' --exclude='TV Shows/' --exclude='Movies/' /Volumes/Drobo/iTunes/ /Volumes/MusicBackup/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)