|
|
resource forks
My questions is will this deal with files that have resource forks?
my, that is a good question. the zip format will not. maybe the new version of tar will(in 10.1) or you should get the Gnutar from sourceforge which supposedly supports the /rsrc flag. there is a perl script called wtar which has been mentioned on these pages. that will work, but not so good for sending files out to people who don't have either the correct tar utility or who might be unaware of the need to throw the flag... there is a new version of pax in the works called hfspax which might also solve the resource problem and if you undo it on another platform it will put a #resource and #finderInfo folders next to the items... On the other hand, while pax supports nearly everything, you might have to dig around inside to find out what was being supported if you don't have pax. Stuffit gets around (sort of) the resource problem, by Using MacbinaryIII to preprocess files in a zip operation. Then windows users could have some problem with files which either didn't need the treatment or are anyway mac fles.... the Devtools contain a few utilities which might be used together to hack together a shell scripted means of zipping or gzipping mac files. CpMac* DeRez* GetFileInfo* MergePef* MvMac* ResMerger* Rez* RezWack* SetFile* SplitForks* UnRezWack* such a way would also require a undoing script as in the wtar example above. so, the best thing would be to create a console application based on the Stuffit Engine SDK or find some way to port the Linux based app over to BSD. in the meantime, there is not really much "awkward" about the GUI apps and you should be able to call the apps with some filename arguments by some trick (osascript???) or you might just consider putting your files into a .dmg via hdiutil and this works (apparently from anywhere) open -a DropStuff ~/myfile |
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.12 seconds |
|