How to extract a particular directory from a multi-part RAR using unrar CLI

command linerar

I can't find any way to do this after searching for hours and trying various things. I'm using rarlab's free unrar CLI on OS X. I want to extract a single folder and its contents, preserving paths, from a multi-part RAR archive. Seems like a simple enough task but… The help listing is of no help. Someone must have figured this out by now.

Best Answer

I had the answer in a comment so I will list it properly as an answer:

Answer:

unrar x volname.part001.rar /dir1/*

Thanks for the input.

Related Question