• 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: Cerciello <email@hidden>
  • Date: Thu, 29 Oct 2009 20:34:07 +0100

Finally the complite working line I was looking for.

Thanx allot to Axel and Mark and everyone else that posted suggestions. I also changed "rm" with "mv" in the last line just to be sure that I don't loose the source .zip files if somthing go wrong:

do shell script "cd " & this_path & "&& find . -name '*.zip' -exec unzip -o {} \\;; mv __MACOSX *.zip /Users/gc/.Trash/"

and back to the other question Axel, yes the integrity of the files and folders appear to be correct as they have icons and works fine. The only exeption are for the aliases which are not resolved. However symlinks are fine. Any idea why?

Best regards
gC

On Oct 29, 2009, at 3:02 PM, Axel Luttgens wrote:

Le 28 oct. 2009 à 22:47, Cerciello a écrit :

[...]
do script "cd " & this_path & find . -exec unzip -o {} \; & rm - rf __MACOSX;
[...]

Back to another question: are you sure to have retrieved all wanted data, even after having deleted the __MACOSX directory? That is, aren't the archives you are unzipping liable to contain files with a resource fork or other vital metadata?


Axel


_______________________________________________
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
  • Follow-Ups:
    • Re: Unzip multiple items Applescript-terminal syntax help!
      • From: Axel Luttgens <email@hidden>
    • Re: Unzip multiple items Applescript-terminal syntax help!
      • From: Axel Luttgens <email@hidden>
    • Re: Unzip multiple items Applescript-terminal syntax help!
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Unzip multiple items Applescript-terminal syntax help! (From: Cerciello <email@hidden>)
 >Re: Unzip multiple items Applescript-terminal syntax help! (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Command-Tab key combination fails
  • Next by Date: Re: Trouble with dock preferences of System Events
  • Previous by thread: Re: Unzip multiple items Applescript-terminal syntax help!
  • Next by thread: Re: Unzip multiple items Applescript-terminal syntax help!
  • Index(es):
    • Date
    • Thread