I'm having trouble excluding iPhoto from a zip backup

Discussion in 'Windows, Linux & Others on the Mac' started by John Greer, Mar 14, 2014.

  1. John Greer macrumors member

    John Greer

    Joined:
    Jun 20, 2011
    Location:
    Wayne, NJ USA
    #1
    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!
     
  2. John Greer thread starter macrumors member

    John Greer

    Joined:
    Jun 20, 2011
    Location:
    Wayne, NJ USA

Share This Page