Re:Papers and essays that every programmer should be aware of
by tedks on Saturday June 29, 2013 @06:44PM
(#5963963)
Doesn't 'tar xf' work for practically everything? I just checked and it works for lzma, bz2, and gz.
[ Parent
| on HN ]
Re:Papers and essays that every programmer should be aware of
by ISL on Saturday June 29, 2013 @08:09PM
(#5964186)
I don't think it used to? I remember needing to explicitly state tar -xjf for bz2 stuff. I do it now reflexively. If it's handled correctly by -xf, that's awesome!
Re:Papers and essays that every programmer should be aware of
by LeonidasXIV on Sunday June 30, 2013 @10:42AM
(#5965938)
Yes, it does, but only GNU tar. I was using NetBSD when I stumbled over the fact that it couldn't 'tar xvf' my foo.tar.gz.
OTOH, I always have to look up unzip, because I fear that there is some option that I forgot. Well, most of the time I use a GUI for Zip, since they often decompress all over the folder unlike tars which are mostly contained in one single folder.