tar -xzvf. which stands for eXtract Ze Vucking File
@miru good mnemonic. I might use it.
@miru this is legit a good mnemonic wtf (thank you)
@miru Why do people always use -v? Do you do ssh -v? Or use "verbose" mode on *anything* else? 🙂
@stevendbrewer @miru the list of files scrolling looks nice
It indicates that something is being done (or not). 😜
@me @stevendbrewer @miru
@adipoeserPursch @me @stevendbrewer @miru This way you can pipe it through grep and filter for file names you have been looking for because this is not the first nor will it be the last archive you are extracting on your never ending search for that one f***ing file from, like, 10 years ago. 😁 (And yes, there are more efficient but less entertaining ways.) 😂
@stevendbrewer It's nice when running interactively, to keep tabs on what it's doing.
@stevendbrewer @miru With tar I usually use either two v's, or none, almost never just one.

@stevendbrewer

Yes.

Yes I do.

Why wouldn't a rational person do that? (yes, I'm questioning your rationale.)

  • I also feel that people who try to cover up the boot sequence - directing it to some form of the void - are potentially causing self harm.I have NO problems with directing it to a file - a temporary file, even - and putting something interesting on the screen. I also have no problems with trying to reduce the time it takes to start things (my machines get to a working prompt from boot faster than I could have any form of interesting animation, koska "I do not use systemd, the slow thing people say is fast, which hides things through failed overengineering")

But, yes. Yes I do. And I question why someone would NOT do that.

I also FULLY accept there are VALID reasons not to, and actually, would like to hear them (:

Because BOTH cases are SENSIBLE in the RIGHT situation. And a mixture is SANE.

@miru

@mjd @miru Whoa, whoa, whoa, dude. I was makin' a joke.

But, I will point out the "unix way" is to have the normal output of an operation be nothing. When you move or copy or uncompress a file, you just get a prompt back. It's "verbose" mode for a reason: that's abnormal.

Maybe you do do "ssh -v -v -v" but I'll bet you don't (Try it!) But you can do unix however you like. I just think it's funny that people always use -v with tar and with none of the other utilities that accept it.

@stevendbrewer

I rarely use 3 verbose switches with ssh. Occasionally with other items... tcpdump normally 2, for example. Having multiple levels of verbosity is something I find good (:

@mjd @stevendbrewer I often use two or three -v with ssh for long running proxy process like
`ssh -nNTvv -D 1080`. Watching the scroll is useful to see when a client starts or stops sending traffic.
@egypt @mjd I've thought of another utility where the examples always seen to show -v: rsync. Cray cray!
@stevendbrewer @mjd I feel like it's a similar psychological situation there as with tar. Verbosity shows you if you've made a mistake. Tar and rsync are both very error prone commands.
@egypt @mjd For years I included -v and eventually realized it was almost always just noise, so I stopped. I think I learned to quit because it wasn't in how I learned to do the Magic "tar" Command.

@stevendbrewer @[email protected]

Yep, use that one constantly.

Because when I don't, I can't tell if the large files are moving. And I have a LOT of large files I move.

  • there are several other ways I determine this, but -v is the quick one.
  • It would be nice if the "amount left" was visible, but I understand why that's difficult with the way it works (:

I suppose it's really a matter of "how much feedback do you need" and I am, almost without exception, "all the feedback" whereas you are "none of the feedback." Which works well for both of us, I imagine (:

@stevendbrewer @miru Look, if we’re not making the pretty lights dance, then what are we even doing here?
@TonyYarusso @stevendbrewer @miru makes me feel like : hacker-(wo)man

@stevendbrewer @miru

I have trust issues. If the command doesn't seem to work right away I'll add three -v to that bad boy like a pastor doing the sign of the cross to drive out a demon.

And I used it on ssh to debug configs just last week :D

@stevendbrewer @miru Only when something is wrong, usually 😅
@miru did you know that the T in tar stands for T-800, the modelname of famous robots with a thick Austrian accent?
@[email protected] I prefer to use tar -pxzvf, which stands for Please eXtract Ze Vucking Files.
@miru If it is GNU tar then "-z" is not required for several years now.
@hrw it’s a solid joke tho… no need to explain.
@[email protected] hate how if u fuck up the order the command implodes your computer
@miru @luna
Thanks I will remember this for ever.

@miru

Or tar xzfa foo.tgz

eXtract Zat Fu…ing Archive

😉

@miru czf: create ze file
@miru
If it's a bzip2 archive, eXtract Je Vucking File
If it's an xz archive, eXtract JE Vucking File
@miru from now on whenever i use the tar command i will imagine a vampire unpacking a box with all the files and folders
@miru this is actually how i remember this lmao
saw it in a reddit comment once or sth and remember it ever since
eXtract Ze File
Compress Ze File
v for verbose as always

@miru `tar pfx file.tar` tar, please fucking extract

`tar wtf file.tar` tar what the fuck (is in this file)

Thanks @fasterthanlime

@teivel @miru this is still how I remember it!
@miru ls -lrt. List, you leery retarded turd.
@miru please enjoy this timeless classic (which I have to look at every. Single. Time) https://howthefuckdoitar.com
How the fuck do I tar?

Because -AcdrtuxGnSkUWOmpsMBiajJzZhPlRvwo? is fucking useless.

@miru Newer systems allow for `tar axvf` which is Always eXtract Vucking File