Re: How do I "Create Archive" through Bash?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com man zip and look at the -y switch. — F On 23 Jul 2007, at 2:20 AM, Paul Tapper wrote: The command-line I'm using for zip is: zip -r -q -9 MyArchive.zip ./MPKGs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This is an odd list to send this to; I'd have thought installer-dev would be better. Installer package files include a symbolic link to the pax archive. Normally, zip follows symbolic links, compressing fresh copies of the targets. I'm trying to use a bash script to automate the compression of a couple of Meta-packages. Each .mpkg is about 1.1Mb in size, and when I select them both in Finder, right-click and select "Create Archive of Files" it makes an Archive.zip which contains them both and is 1.6Mb in size. I want to try to recreate this action via bash, and have tried using the "zip" command, but I end up with zip files which are a lot bigger. Even using "-9" as a parameter to zip, to try to force maximum compression, I still end up with a zip file which is approx 3.2Mb (bigger than the sum of the two .mpkg sizes!). This email sent to site_archiver@lists.apple.com
participants (1)
-
Fritz Anderson