Just thought I would let some know how to unrar multiple files with one command. This is particularly useful after having downloaded a complete series dvd rip where each individual episode has been rar’d.
Now I think the cli version of unrar is included with winrar, so all you have to make sure is the path variable is pointing to unrar. In my case, my path is
path=%path%;c:\program files\winrar
The path variable can be modified by clicking start, right click computer, choose properties and then on the LHS choose Advanced system settings. A new window will pop uo, and bottom right you will see environment variables. Click this and and then look for path in the lower half of the window. Click edit and at the end of variable value, add ;c:\program files\winrar. Making sure to include the ‘;’
Once thats done, you can check it by opening a cmd prompt, and typing unrar. If it works then move on, if not, ask google. If it worked succesfully, you won’t need to update the path variable again.
Once a dvd set has been downloaded change your working directory to the downloaded directory. For my example I’ll use big bang theory. So “cd \Downloads\The.Big.Bang.Theory.S03.BDRip.XviD-SAiNTS”
At this point, you should know where abouts you are wanting to unrar each episode to. For me its \videos\tv shows\big bang\season 03
With this, in mind, and at your previous download directory, type in “unrar e -r * <destination>”
So again, for my example, my command will be
unrar e -r * “e:\videos\tv shows\big bang\season 03″
Note that the “” are required, otherwise poor old rar gets a little confused with the long directory name.
You should now see unrar working in all its glory, extracting each episode. If you have your destination directory open on the GUI, you will see files added as they are extracted.
Hopefully this will be of help to people who may be using the GUI version of winrar, and extracting each episode one by one!
Cheers
Pingback: How to play RAR files without unpacking them? « Scene Lingo – Definitions from the “Scene” !