Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'zip versus ditto' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
zip versus ditto
Authored by: kaptaineric on Mar 08, '04 03:43:31PM
I'm fairly new to the ditto command but have found that it will not allow you to add to an already created archive. Or can it and I just don't know the command?


So what I have been using to archive my data via the command line is the zip command.


zip -r -u -g /Volumes/Media/username/Pictures/iPhoto_Library.zip /Volumes/iMac_Data/username/Pictures/"iPhoto Library"
zip -r -u -g /Volumes/Media/username/Pictures/iPhoto_Library.zip /Users/username/Library/Preferences/com.apple.iPhoto.plist


Now lets say that there is another file that I want to add to my archive, I would repeat the command with the new file:

zip -r -u -g /Volumes/Media/username/Pictures/iPhoto_Library.zip /Users/username/Desktop/Homework.pdf


It is the only method that I am aware of that will allow me to add to an existing archive. Is this procedure in any way unorthodox?

[ Reply to This | # ]