Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

neselain1

macrumors newbie
Original poster
May 19, 2013
2
1
Hello all,
What I have is several rar's that contain rar files inside. I've spent more time trying to figure this out than to just manually open these individually but I am determined to figure this out.
I've managed to figure out how to cd (change directory) and be in the right directory and I'm typing these instructions into Terminal.

unrar x -kb -o- -or -r *.rar

This makes a folder with original .rar file name and the individual .rar files are in it (unextracted), but...I would like it to actually extract each individual .rar with the following criteria: if, there is only one file in a particular .rar then no folder, just extract; if, there is more than one file in a particular .rar, extract into a folder in same directory named after that .rar file. Then...eventually, after testing that this works, have it automatically delete original .rar files.

I am hoping that some of you brainiacs can help me with this.

Thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.