11 ms·
You’d be amazed how many people I’ve found that do ‘tar xzf filename’ without knowing what xzf is doing.
by soneil 4y ago
You’d be amazed how many people I’ve found that do ‘tar xzf filename’ without knowing what xzf is doing.
- jthrowsitaway 4y agoPassing "z" is pretty pointless for extractions.
- schoen 4y agoI think it was required until about 2010 or so for GNU tar. (I still use it from habit.) There was a problem about integrating support for different compression applications, with each one needing to get a new letter in the tar command!
- sneusse 4y agoWon't this fail when the file is not gzipped but, for example, zstd compressed?
- jhugo 4y agoIt doesn't assume gzip, it detects the compression format.
- jhugo 4y agoYup, I remember when you had to pass `z` if it was gzip, and I remember my surprise when I missed it once and it still worked (apparently about 5 years after it was no longer needed!)
- sam_bristow 4y agoI'll admit to being one of those people. My brain still spells it out as eXtract Ze Files every time :-P
- Izkata 4y agoYou're 2/3 correct: x - extract z - gzip format f - file (must be last so it parses the filename arg correctly I also add "vv" in the middle so it lists every file as it goes, so I can see it work instead of just waiting with no output.
- sam_bristow 4y agoIt's not often I actually unzip stuff on the command line these days, but saying "extract ze files" in a terrible French accent in my head when I do is a highlight.
- avgcorrection 4y agoI don't tend to amaze myself.
- deleted 4y ago[deleted]