Re: Zip and keep folder structure
Re: Zip and keep folder structure
- Subject: Re: Zip and keep folder structure
- From: Rosemary Cantrell <email@hidden>
- Date: Tue, 8 Dec 2009 11:02:20 -0600
Dennis,
I tried taking out the references to the path but I then I was getting
error of "nothing to do". Like it wouldn't do the zipping? Can you
give me more explanation of how to go about junking the paths... (I
tried to comment them out, I tried to delete all references to with no
success). I'm sure it's just that I don't grasp it exactly.
Thank you for your help.
Rosie
On Mon, Dec 7, 2009 at 8:38 PM, Dennis Cox <email@hidden> wrote:
> -----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