RE: Zip and keep folder structure
RE: Zip and keep folder structure
- Subject: RE: Zip and keep folder structure
- From: "Dennis Cox" <email@hidden>
- Date: Mon, 7 Dec 2009 20:38:43 -0600
- Thread-topic: Zip and keep folder structure
Title: RE: Zip and keep folder structure
-----Original Message-----
From: applescript-users-bounces+dcox=email@hidden on behalf of Rosemary Cantrell
Sent: Mon 12/7/2009 11:42 AM
To: AS users
Subject: Zip and keep folder structure
do shell script "zip -r -j " & zipFile & " " & itemPath
>From the zip man page:
-j
--junk-paths
Store just the name of a saved file (junk the path), and do not
store directory names. By default, zip will store the full path
(relative to the current directory).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden