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
(mind line wraps)
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
Download Snapper Screen Recorder at http://snapper.economy-x-talk.com
On 12 aug 2009, at 19:02, Tereza Snyder wrote:
It's probably elementary for old hands on the list, but I've never
done it:
I need to zip up a folder that contains files and subfolders. Do I
need to use a shell command, or can a sequence of revzip commands do
the trick? What script commands are needed?
I'm working in MacOS, rev 3.5, creating (different) archives for Mac
& Win, from files on my hard drive.
grateful for guidance,
tereza
--
Tereza Snyder
Califex Software, Inc.
<www.califexsoftware.com>
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution