ZIP on OS X
Trevor DeVore
lists at mangomultimedia.com
Tue Dec 14 13:10:38 EST 2004
On Dec 14, 2004, at 10:00 AM, Klaus Major wrote:...
>> This worked for me. Took a 60KB file down to 28KB.
>> ditto -c -k -X --rsrc RevolutionScreenSnapz001.pdf test.zip
>> -X keeps the archive from descending into directories that have a
>> different device ID
>
> Don't get this one...
I'm not positive but I assume it won't go into a directory that points
to another harddrive, etc. I'm just guessing though.
>> and -k signifies a PKZip archive as opposed to a CPIO archive.
>
> ...but this one :-)
>
> Yeah, great, works fine!!! Thanks!
>
> And how can i decompress the resulting file again?
ditto -x -k test.zip test
-x tells ditto that the first file is an archive. -k tells it that the
file is pkzip rather than cio. This will output the contents of
test.zip to a folder named test.
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
More information about the use-livecode
mailing list