Re: Unzip multiple items Applescript-terminal syntax help!
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