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


Click here to return to the '10.6: Use Archive Utility to make zip backups' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Use Archive Utility to make zip backups
Authored by: xcgr on Oct 05, '10 08:36:23AM

"ditto -c -k" will create zip archives that preserve resource forks and extended attributes. Run "man ditto" for details. I'd go that route instead of abusing Archive Utility. Then you can shell script it to suit your particular needs.



[ Reply to This | # ]
10.6: Use Archive Utility to make zip backups
Authored by: ekc on Oct 06, '10 10:18:09AM
I usually go with ditto -ck --sequesterRsrc to create the same type of zip files as the Finder. What sequesterRsrc does is it takes all those meta-data files (the ones beginning with ._) and sticks them in a separate directory called __MACOSX. That way they don't get in the way as much if you send your zip archive to a non-Mac user.

[ Reply to This | # ]