[kanchilug] [Tip] UNP: Now extract any archives without any worries

  • From: "Tha.Suresh" <jemenisuresh@xxxxxxxxx>
  • To: KanchiLug <kanchilug@xxxxxxxxxxxxx>, ILUG-C <ilugc@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jul 2010 09:51:02 +0530

UNP: Now extract any archives without any worries


Many of us may know how to extract a .Tar.gz file. But how many of us
know how to extract a .bz2, .lz, etc files. Some extra option to tar
will do the needfull, but we will need to know the options for each
type of archive.

But no worries any more. You can now use 'unp', a script that extract
any type of archive by itself.
To extract any archive just type:

$ unp archive_file
where "archive_file" can be a rar, zip, tar.gz, deb,
tar.gz2, rpm or any other archive.


The best thing is that you can use unp to extract multiple types of
archives at the same time.
example:

$ unp *.tar *.tar.gz *.tar.bz2 *.rpm *.deb *.zip *.rar

To extract all the archive files in the current directory:

$ unp *


Install unp

$ sudo apt-get install unp

--
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com
 

Other related posts: