|
|
man page & how to tell if a utility preserves resource forks
1) I think the claim about inaccuracy of the man page for zip stems from a misunderstanding of the use of the term "MacOS" in that man page. MacOS refers to the pre-OS X versions of the Mac OS (e.g. OS 9). Thus those sections are not relevant to OS X.
As far as I can see, there are no OS X-specific features in 'zip' - and hence it doesn't preserve resource forks. 2) In the Unix-level utilities that have been enhanced (in Tiger) to preserve resource forks, this has been implemented via the use of the 'copyfile' function which is in libc. So one way to quickly check if it is likely that a particular utility will preserve resource forks is to look for 'copyfile' in the output from 'nm'. Look at the following results:
man page & how to tell if a utility preserves resource forks
As far as I can see, there are no OS X-specific features in 'zip' - and hence it doesn't preserve resource forks.Read the comments before yours. The Finder-based "create archive" most certainly does preserve resource forks. I've proved that in Panther (10.3.9) and others did in Tiger. The author of the tip either got things confused or didn't take the difference into account when writing the tip. The headline is a bit of a scare, as it is not true for the way that most people will zip a file/folder, using the "Create archive" option in the Finder contextual menu.
article is about command-line zip
I repeat what I said in an earlier comment: the article and my comment that you quote are about the command-line version of zip. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|