Using zip to package a folder with subfolders
Klaus on-rev
klaus at major.on-rev.com
Wed Aug 12 13:43:47 EDT 2009
Hi all,
Am 12.08.2009 um 19:13 schrieb Mark Schonewille:
> Hi Tereza,
>
> This is what I use:
>
> on mouseUp
> set the itemDel to slash
> if there is a folder fld "File" or there is a file fld "File" then
> set the directory to item 1 to -2 of fld "File"
> put item -1 of fld "File" & ".zip" into myZipFile
> put "zip -r" && quote & myZipFile & quote && quote & item -1
> of fld "File" & quote && " -x .* *.DS_Store *Icon*" into myShell
> put shell(myShell)
> end if
> end mouseUp
am I correct presuming that RevZip still cannot zip complete folders
"en bloc"
without looping through the files in it and zipping them?
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list