Tarballs, extraction, & you!

bash

#1

I know that I’m not the only one who fights with tar -xvjf versus tar -xvzf (or even what the four options are!). The reason that I know I’m not the only one is because I found this on the web this morning:

https://packages.debian.org/jessie/utils/dtrx

Do The Right eXtraction!

## Instead of 
tar -xvjf foo.tar.bz2

##  Use
dtrx foo.tar.bz2

I hope this helps everyone as much as it helped me!


#2

Modern tar works without j,x, and other options:

tar xf file.tar.bz2
tar xf foo.tar.gz

#3

I didn’t know that, and it isn’t obvious from the Man Page. :frowning: