Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

John Greer

macrumors member
Original poster
Jun 20, 2011
75
1
Wayne, NJ USA
I'm backing-up my son's MacBook Pro and I've been able to zip all of his data, but the resulting zip file is very, very large. I'd like to exclude iPhoto from the backup, but cannot figure out the correct sequence of characters to get the exclude to work. The beginning part of the command works: zip -r -v -9 Backups/KevDocs00 Pictures/*

It's the extra piece of the command I cannot figure out. I've tried:

  1. -x”*/Pictures/iPhoto Library/”
  2. -x"/Pictures/iPhoto Library/*”
  3. -x"Pictures/iPhoto Library/*”
  4. -x”*/Users/username/Pictures/iPhoto\ Library/”
  5. -x”*/\Users/username/Pictures/iPhoto\ Library/”
  6. -x”/Users/username/Pictures/iPhoto\ Library/*”
  7. -x”*/\Users/username/Pictures/iPhoto\ Library/”

HELP!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.