Add Comment
|
Related Links
|
TrackBack
What causes this?Know what causes this ZIP problem? Know of a way to get around it? I want to automate the process of creating ZIP files and not having to manually point-and-click . . . http://www.cynosurex.com/Forums/DisplayComments.php?file=Mac . . . Chieh Cheng how are you creating the zips? charlie zip "MagicMenu" *.app Chieh Cheng zip app/version? charlie Info-ZIP 2.32 Chieh Cheng i presume you're using Info-ZIP. do a "unzip -l" with the 2 archives and see if the one created by the GUI has more files? ie hidden ones that start with a period. if it's indeed missing the hidden files, the -S parameter should help. gnowk well.. macintel got rid of classic support. i would suggest first upgrading to info-zip 3.0 ( http://info-zip.org/Zip.html ) and trying with that first. at minimum,download and recompile some version of it. i'm sure the gui one you are using isn't using the same executables but a different compiled exec. charlie Ok. Here is the difference between the two ZIP files. The ZIP File That Does Not Work Length Date Time Name The ZIP File That Works Length Date Time Name Chieh Cheng I typed "zip -S archive readme.txt" and got "zip error:: Invalid command arguments (no such option: S)" . . . I didn't see anything with regards to the "-S" switch in the help page either. Chieh Cheng i saw it in the man page, but -S didn't work for me either. i wonder if i have another copy of zip installed. -S [MSDOS, OS/2, WIN32 and ATARI] Include system and hidden files. i created the files and directories by hand and it seems to work if i used -r: $ zip -r magic * this might not work if __MACOSX is hidden and i am not sure if all the permission bits in the zip file would be set correctly. maybe you should use .dmg instead, since most mac apps are distributed that way. here's a command line creator... gnowk Ok, I have created an universal DMG creation script based on the information presented in the web site above. You can download it here: MakeDMG.ksh (GPL) Chieh Cheng
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. Add CommentSpam Control | * indicates required field TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites. Send Ping | TrackBack URL | Spam Control No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here. Messages, files, and images copyright by respective owners. |
Articles
|
Wiki
105 Users Online
|
Copyright © 2004 - 2024. All Rights Reserved. |