• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
zipping like Archive Utility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zipping like Archive Utility


  • Subject: zipping like Archive Utility
  • From: Matt Gough <email@hidden>
  • Date: Tue, 27 Jul 2010 15:43:37 +0100

I am automating my build process so that my built Installer package gets zipped up before uploading to a web site. Previously I have manually used Finder's Compress option to do this (which goes via Archive Utility)

I tried just using zip, but that gave substantially larger archive sizes.
I can't do it via 'open -a 'Archive Utility' <ThingToCompress>' as the script it is running from won't have a usable WindowServer at the time.

The closest  (in size) that I have got is:

tar -zcf "My Installer.zip" "My Installer.mpkg"

However whilst the resultant file can be expanded via Archive Utility, attempting to get Safari to decompress it after download results in a "Decompression failed" error.

Any ideas?

Matt Gough _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: zipping like Archive Utility
      • From: Sherm Pendley <email@hidden>
    • Re: zipping like Archive Utility
      • From: Tito Ciuro <email@hidden>
    • Re: zipping like Archive Utility
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Xcode 4 preview
  • Next by Date: Re: zipping like Archive Utility
  • Previous by thread: Create an app bundle for my executable file with set of .so files
  • Next by thread: Re: zipping like Archive Utility
  • Index(es):
    • Date
    • Thread