• 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: Unzip multiple items Applescript-terminal syntax help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unzip multiple items Applescript-terminal syntax help!


  • Subject: Re: Unzip multiple items Applescript-terminal syntax help!
  • From: Emmanuel LEVY <email@hidden>
  • Date: Wed, 28 Oct 2009 22:55:37 +0100

Not that I say it works, but did you try:

tell app "Finder" to open thezip ?

Emmanuel


On Oct 28, 2009, at 10:47 PM, Cerciello wrote:

Hi everyone,

I like to unzip a bunch of ziped file in a folder but I got an error.

Basically I created an automator service using the " Run Applescript " action and typed this:


on run {input, parameters}

tell application "Finder"
set this_path to the quoted form of the POSIX path of (insertion location as alias)
end tell

tell application "Terminal"
activate
do script "cd " & this_path & find . -exec unzip -o {} \; & rm -rf __MACOSX;
end tell

return input
end run


error:  Expected end of line, etc. but found identifier.

Any help would be very appreciated or if would be a simpler way to do this, any suggestion very welcomed.

Thanks in advance
gC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Unzip multiple items Applescript-terminal syntax help! (From: Cerciello <email@hidden>)

  • Prev by Date: Unzip multiple items Applescript-terminal syntax help!
  • Next by Date: Re: Unzip multiple items Applescript-terminal syntax help!
  • Previous by thread: Unzip multiple items Applescript-terminal syntax help!
  • Next by thread: Re: Unzip multiple items Applescript-terminal syntax help!
  • Index(es):
    • Date
    • Thread