revZip & resource fork

Mark Wieder mwieder at
Tue Aug 17 18:46:27 EDT 2010


Tuesday, August 17, 2010, 2:57:53 PM, you wrote:

> Hi

> Is there a way to preserve the resource fork using revZip on OS X?

No. Here's what I do:

-- tZipFile is the path to the outputfile
-- tFileName is the name of the input file
-- set the defaultFolder to the folder containing the input file
get shell("zip -r" && tZipFile && tFileName)
put url("binfile:" & tZipFile) into tData
-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list