Wednesday, February 24, 2010

A Little Egg On My Face, Yes?

This will be just a quick note, so no synopsis is really needed.  After all that going on I did about tar and bunzip2 in the previous entry, what do I find out in reading about tar in my Linux Pocket Guide?

It seems there is a -j switch for tar (alternatively expressed as --bzip2) such that one may extract a .bz2 zipped tar archive by, for example:

tar -xjvf some-file-or-other-1.2.3.tar.bz2

which results in a single-pass extraction to a folder named  

some-file-or-other-1.2.3 

beneath the present one.

Dash it all!  I could have been saving steps all over the place!  It'll pay me to read more carefully.  (At least I figured it out for myself before the Doctor looked over my shoulder.) 

No comments:

Post a Comment