Was trying to extract a totally legit copy of Skate 3 I downloaded today to play on my Steam Deck
tar -czvf tar_name.tar.gz ./
I even read this aloud in my head as “CREATE ZE VUCKING FILE” in a particularly bad German accent same as over 20 years ago when a friend I worked for drilled it in my head.
Read it in tf2 medics voice
tar --help
In the true spirit of UNIX, it’s
tar -h
F
You just killed us all by putting a space between the dashes
Fuckin autocorrect was the death of us all.
Or by using gnu style options on potentially bsd tar
tar --help
touch foo; tar cvf foo.tar foo
My fucking autocorrect decided that
cvf
should have beenxvf
. I caught it before I hit enter to close out the code block, but wtf? When did my keyboard develop opinions on command args‽I do
tax -xvf filename
tax
Boom.
tar -h
Just
tar
, no arguments. Does nothing, still a valid command, no?Exit code 2 -> boom
| man tar
This is a valid
man
command, but not atar
commandI’ll use the man page to find a command; it said 10 seconds, not 1 try!