Wednesday, November 4, 2009

unp for fast unpacking of multiple zip or rar files

If you want to extract multiple packed files at once unp is a nice option:
unp is a small perl script which makes extraction of any archive files a bit easier. It support several compressors and archiver programs, chooses the right one(s) automatically and extracts one or more files in one go.


You may also want to install some non-free packages like “unace-nonfree”, “unrar-nonfree” and “lha” to extract archives of these types.

Install unp in ubuntu

sudo apt-get install unp


When you unrar multiple different rar files, put them in the same directory and , open the terminal there and do
unp *.part1.rar
unp is a small script with only one goal: Extract as many archives as possible, of any kind and from any path to the current directory, preserving the subdirectory structure where needed. Is a Do-What-I-Want utility and helps managing several extraction programs without looking for needed options for the particular tool or worrying about the installation of the needed program.

In contrary to gunzip which decompresses the file in the target directory of the source file,unp will use current directory for output.

  • Share/Bookmark

No comments:

Blog Archive