• 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: What's wrong with this call to zip?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's wrong with this call to zip?


  • Subject: Re: What's wrong with this call to zip?
  • From: KOENIG Yvan <email@hidden>
  • Date: Tue, 26 Feb 2008 21:18:06 +0100


Le 26 févr. 2008 à 21:07, Philip Aker a écrit :
…
Try this:

set ptd to path to desktop as text
set source to quoted form of POSIX path of (ptd & "some") -- a folder
set dest to quoted form of POSIX path of (ptd & "some.zip")
do shell script "ditto -ck " & source & " " & dest


Philip Aker


Thanks, it works fine.

The problem was that I didn't understand that we may use any kind of file as the destination file as long as it has the .zip extesion name.

Yvan KOENIG _______________________________________________
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: What's wrong with this call to zip?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >What's wrong with this call to zip? (From: KOENIG Yvan <email@hidden>)
 >Re: What's wrong with this call to zip? (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Indesign --> CS3 changed behaviour
  • Next by Date: Re: Indesign --> CS3 changed behaviour
  • Previous by thread: Re: What's wrong with this call to zip?
  • Next by thread: Re: What's wrong with this call to zip?
  • Index(es):
    • Date
    • Thread