Week of bash scripts – Unpack

As the antithesis of yesterdays pack command there is unpack.

Unpack

This script was originally written by brisbin33 in the Arch forums (beautiful work man) and is slightly-modified. It will unpack most compressed file formats. Syntax is:

unpack <archive.ext>