You're viewing a single thread.
Oblig. XKCD:
188 1 Replytar -h
Edit: wtf... It's actually
tar -?
. I'm so disappointed229 0 Replyboom
220 0 Reply78 1 Reply
tar eXtactZheVeckingFile
105 0 ReplyMe trying to decompress a .tar file
27 0 ReplyJoke's on you, .tar isn't compression
5 0 ReplyThat's not going to stop me from getting confused every time I try!
4 0 Reply
You don't need the v, it just means verbose and lists the extracted files.
18 0 ReplyYou may not, but I need it. Data anxiety is real.
8 0 ReplyYou don't need the z, it auto detects the compression
8 0 ReplyYeah, I just tell our Linux newbies
tar xf
, as in "extract file", and that seems to stick perfectly well.6 0 ReplyThat's still kinda new. It didn't always do that.
2 0 ReplyPer https://www.gnu.org/software/tar/, it's been the case since 2004, so for about 19 and a half years...
7 0 ReplyTelling someone that they are Old with saying they are old…
7 0 ReplySomething something don't cite the old magics something something I was there when it was written...
4 0 Reply
Right, but you have no way of telling what version of tar that bomb is running
6 0 Reply
tar -xzf
(read with German accent:) extract the files
60 0 ReplyIxtrekt ze feils
28 0 ReplyGerman here and no shit - that is how I remember that since the first time someone made that comment
19 0 ReplySame. Also German btw 😄
6 0 ReplyNot German but I remember the comment but not the right letters so I would have killed us all.
3 0 Reply
That’s so good I wish I needed to memorize the command
5 0 Replyz
is for gzip archives only.tar xf
for eXtract the File1 0 Reply
tar -uhhhmmmfuckfuckfuck
21 0 ReplyThe Fish shell shows me just the past command with tar So I don't need to remember strange flags
8 0 ReplyI use zsh and love the fish autocomplete so I use this:
https://github.com/zsh-users/zsh-autosuggestions
Also have
fzf
forctrl + r
to fuzzy find previous commands.I believe it comes with oh-my-zsh, just has to be enabled in plugins and itjustworks™
4 0 Reply
man tar
you never said I can't run a command before it.
8 1 Replywithout looking, what’s the flag to push over ssh with compression
1 0 Replyscp
4 0 Replynot compressed by default
1 0 Reply
That's yet another great joke that GNU ruined.
5 16 Reply