Linux

Categorized | Applications, cli

Unpack multiple archives recursively in Linux

So you downloaded all the X-Files seasons and every episode is packed in RAR. You can use unrarr to recursively unpack the contents of each archive by following these install steps:

gunzip unrarr.gz 
sudo cp unrarr /usr/bin/ 
sudo chmod +x /usr/bin/unrarr

…then use the utility like this:

unrarr /path/to/folder

It can be a real time-saver.
For ZIP files you can use unzip and a small shell script that goes like this:

for dir in */
do
   ( cd “$dir” && unzip *.zip )
done

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


Hi, Be the first leave some reply

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>