The perfect confirmation dialog does not existโ€ฆ
@irvingpop tar xvf

@tryst @irvingpop I never understood that comic. It's been straightforward o.o

`tar czf someapp.tgz -C /opt/someapp /opt/someapp/*`

Aaa

@ceralor @tryst @irvingpop It's only straightforward if you have the knowledge.

@maxissakitsune @tryst @irvingpop I mean yeah but the relevance and context for the joke is here: https://xkcd.com/1168/

Where like, someone who uses UNIX or Linux a heavily almost assuredly knows one. They're just that commonly used, even just extracting.

As my ex remembers it: xzf stands for "xtract ze files"

tar

xkcd

@ceralor @maxissakitsune @tryst @irvingpop as someone who's switched to solely using linux for the past 2 years, i'm not defusing that bomb either

i could use the manual page for it, but graphical archive managers have existed for eons so i use that instead

@EeveeEuphoria @ceralor @maxissakitsune @tryst @irvingpop I live by using bsdtar because you don't have to specify the archive type and even after using nix likes for 5+ years I don't remember how to properly use tar because it's designed like shit

ark is just better if you have gui tho
@Mia @ceralor @irvingpop @maxissakitsune @EeveeEuphoria I don't think you need to tell tar what the archive your is these days, either. tar xf works just as well as tar xzf. I could be wrong, tho.
@tryst @ceralor @irvingpop @maxissakitsune @EeveeEuphoria I don't use gnu systems so I could be wrong but most forms of tar can't detect what the archive is

z is for gzip and only gzip
J is for xz and only xz
j is for bzip2 and only bzip2

lzip, lzma, and lzop only have long options
@Mia @ceralor @irvingpop @maxissakitsune @EeveeEuphoria If you set a, tar will attempt to automatically identify the compression type. This is now the default behaviour, so if you feed it a compressed tarball without specifying the compression type, it will attempt to detect the compression type automatically.
@tryst @ceralor @irvingpop @maxissakitsune @EeveeEuphoria the fact that I didn't know a was an option proves my point about tar being a fucking bitch to use
@ceralor @maxissakitsune @EeveeEuphoria @irvingpop @tryst As an actual Linux admin by trade, the switches are the easy part, but heck if I can ever remember which behavior is which for including the trailing slash or not on a directory nameโ€ฆ

@TonyYarusso @ceralor @maxissakitsune @irvingpop @tryst the only time i've ever used it is to make backups of my website, which i've only had to do like, a few times

and the next time i'm doing it it'll be automated in a bash script, meaning i'll probably type a tar command 1 more time