Travis Quinnelly bio photo

Travis Quinnelly

vTechify is my home to talk about all things virtualization. Here I share things learned in lab and production environments both for my documentation and others to stumble upon for reference.

Twitter Google+ LinkedIn Instagram Github Last.fm

Unrar

Sometimes I’m lazy. Sometimes I try to think of better ways to do things even if there exists a perfect way to do it already.

Every once-in-a-while there is a time when I need to so some mass unraring. I might have a ton of files possibly even rar’d up differently. Some of them might be multi-part RARs with part1.rar, part01.rar, part001.rar or just .rar. I wanted something to take care of all of them regardless of the style they were compressed.

So I came up with this. I think this will work.

Adjust your “-maxdepth” as necessary.