• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Zip and keep folder structure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Zip and keep folder structure
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Zip and keep folder structure (From: Rosemary Cantrell <email@hidden>)
 >RE: Zip and keep folder structure (From: "Dennis Cox" <email@hidden>)

  • Prev by Date: Is it possible to multi-thread do shell script?
  • Next by Date: Re: Is it possible to multi-thread do shell script?
  • Previous by thread: RE: Zip and keep folder structure
  • Next by thread: Re: Zip and keep folder structure
  • Index(es):
    • Date
    • Thread