Posted: . At: 1:45 PM. This was 9 years ago. Post ID: 8129
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

Universal archive unpacker script for Linux. Easily unpack any archive with the terminal.

The unp script for Linux is a script that will detect what the archive is and call the appropriate program to handle it. This is a very useful script for the command line user. In the example below I am unpacking a zip file.

jason@eyjafjallajkull:~/Downloads$ unp northwind.sql_.zip 
Archive:  northwind.sql_.zip
  inflating: northwind.sql

if the required programs are not installed, you will get this helpful error. This will tell you which packages to install to proceed.

jason@eyjafjallajkull:~/Downloads$ unp fallujah1_2.7z 
Error, following packages must be installed in order to proceed:
p7zip or p7zip-full

But, this is a very powerful script and well worth installing to take care of any strange archive format that you encounter on the Internet.

Type this command.

sudo apt-get install unp

To install this useful script.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.