Re: How do I "Create Archive" through Bash?
Re: How do I "Create Archive" through Bash?
- Subject: Re: How do I "Create Archive" through Bash?
- From: Fritz Anderson <email@hidden>
- Date: Mon, 23 Jul 2007 11:42:59 -0500
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.
man zip and look at the -y switch.
— F
On 23 Jul 2007, at 2:20 AM, Paul Tapper wrote:
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!).
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden