Professional Web Applications Themes

Stuff-it damaging zip file contents - Mac Programming

I was told that some version(s) of Stuff-it might damage zip file contents. So I'll probably create a disk image first, and then zip the disk image rather than the files. Has anyone experienced any problems doing like that, instead of zipping everything without a disk image? M...

  1. #1

    Default Stuff-it damaging zip file contents

    I was told that some version(s) of Stuff-it might damage zip file contents.
    So I'll probably create a disk image first, and then zip the disk image rather
    than the files. Has anyone experienced any problems doing like that, instead
    of zipping everything without a disk image?

    M


    Mike Guest

  2. #2

    Default Re: Stuff-it damaging zip file contents

    In article <8SNpb.32290$telia.net>,
    "Mike" <com> wrote:
     

    You can avoid StuffIt altogether. The .dmg format supports compression
    which gives similar results, and that way you avoid needing another
    external program to decompress your files, and the user experience will
    probably be better. You can use Disk Copy/Disk Utility or hdiutil from
    the command line to convert a regular .dmg to a compressed one.
    Michael Guest

  3. #3

    Default Re: Stuff-it damaging zip file contents

    > You can avoid StuffIt altogether. The .dmg format supports compression 

    Thanks for the tip. Do you have any command line example(s)? No?

    M


    Mike Guest

  4. #4

    Default Re: Stuff-it damaging zip file contents

    In article <0QSpb.32348$telia.net>,
    "Mike" <com> wrote:
     
    >
    > Thanks for the tip. Do you have any command line example(s)? No?[/ref]

    Read 'man hdiutil' for the details.

    hdiutil convert OriginalImage.dmg -format UDZO -o CompressedImage.dmg

    The UDZO tells it to use a zlib-compressed image. There is another
    compressed image format, UDCO which is an "ADC-compressed image", but
    when I've tried it, it was unbelievably slow and the output was larger
    than zlib.
    Michael Guest

  5. #5

    Default Re: Stuff-it damaging zip file contents

    > > > You can avoid StuffIt altogether. The .dmg format supports compression 
    > >
    > > Thanks for the tip. Do you have any command line example(s)? No?[/ref]
    >
    > Read 'man hdiutil' for the details.
    >
    > hdiutil convert OriginalImage.dmg -format UDZO -o CompressedImage.dmg
    >
    > The UDZO tells it to use a zlib-compressed image. There is another
    > compressed image format, UDCO which is an "ADC-compressed image", but
    > when I've tried it, it was unbelievably slow and the output was larger
    > than zlib.[/ref]

    Thanks Michael. I'll check it out.



    Mike Guest

Similar Threads

  1. Replies: 2
    Last Post: May 15th, 09:36 AM
  2. Open file, make changes, save file, close, re-open, file contents not changed
    By brock@bergdesign.com in forum Adobe Illustrator Macintosh
    Replies: 7
    Last Post: March 7th, 07:29 PM
  3. HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! log file contents
    By Vema Venkata in forum PERL Beginners
    Replies: 1
    Last Post: September 11th, 04:13 PM
  4. log file contents
    By Vema Venkata in forum PERL Beginners
    Replies: 1
    Last Post: September 11th, 01:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139