Thursday, April 14, 2011

Unp Universal File Unpacking Utility

Unp : unpack (almost) everything with one command.
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.
There is also a special option (-u) which is very useful for extracting of Debian packages. Using -u, unp extracts the package (i.e. the ar archive) first, then extracts data.tar.gz in the current directory and then control.tar.gz in control/filename/.

No comments:

Post a Comment