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: Axel Luttgens <email@hidden>
- Date: Thu, 29 Oct 2009 13:09:39 +0100
Le 29 oct. 2009 à 12:46, Cerciello a écrit :
[...]
Any suggestion on how to combine this 2 lines in one "do shell
scrip" command?
Since the ";" expected by the find command is now correctly escaped,
just append your third shell command as usual:
do shell script ("cd " & this_path & "; find . -exec unzip -o {} \\;;
rm -rf __MACOSX")
The idea to create this service is for unzipping large files
downloaded from the net which often are splitted in hundreds of
small zip files. Usually I will run the service on a folder on my
desktop.
Are all those zip files a the top-level of the enclosing folder?
In which case you could perhaps consider an even simpler way, such as:
do shell script ("cd " & this_path & "; unzip -o *.zip; rm -rf
__MACOSX")
HTH,
Axel _______________________________________________
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