Applescript: terminal unrar command
Hey,
I would like to know if it's possible to make an applescript of the following terminal command(s).
cd
unrar e -r -o- *.rar && find ./ -name “*.r*” -delete
Also, I would like to know if it's possible to tweak the "unrar e -r -o- *.rar" command.
Following situation:
Main_folder\SubfolderA
Main_folder\SubfolderB
Main_folder\SubfolderC
when I login in to terminal and use the command => unrar e -r -o- *.rar
Everything from SubfolderA / SubfolderB & SubfolderC will be extracted in Main_folder
Now my question is: Is there a command that will extract the "*.rar" in the same subfolder as where they are stored.
Kind regards,
Maxime
MacBook Air, OS X Mountain Lion (10.8.2)