Was trying to extract a totally legit copy of Skate 3 I downloaded today to play on my Steam Deck

148 points
*

tar --help

permalink
report
reply
147 points

In the true spirit of UNIX, it’s tar -h

permalink
report
parent
reply
37 points

F

permalink
report
parent
reply
13 points

It’s tar --help on my system 💥

permalink
report
parent
reply
7 points
*

GNU switched to long command switches a while ago. Try bsdtar, it’s still just -h.

They kept the short ones for the actual extract/compress commands though, for compatibility reasons I presume.

permalink
report
parent
reply
4 points

tar -?, -h is dereference or smth.

permalink
report
parent
reply
2 points
*

Nope, tar spec doesn’t say anything about a help message. The man spec OTOH requires at least syntax documentation for all standard utilities to be present on the system.

permalink
report
parent
reply
68 points

You just killed us all by putting a space between the dashes

permalink
report
parent
reply
61 points

Fuckin autocorrect was the death of us all.

permalink
report
parent
reply
1 point

Lmao

permalink
report
parent
reply
27 points
*

Or by using gnu style options on potentially bsd tar

permalink
report
parent
reply
85 points
tar -h
permalink
report
reply
51 points

Just tar, no arguments. Does nothing, still a valid command, no?

permalink
report
parent
reply
34 points

Exit code 2 -> boom

permalink
report
parent
reply
31 points
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.
permalink
report
parent
reply
24 points

Boom. tar --help for anyone wondering

permalink
report
parent
reply
72 points

I do tax -xvf filename

permalink
report
reply
149 points

tax

Boom.

permalink
report
parent
reply
49 points

ah fuck, didn’t even notice

permalink
report
parent
reply
18 points

quod erat demonstrandum :D

permalink
report
parent
reply
14 points

Christ this comment chain is perfect lmfao

permalink
report
parent
reply
22 points

I like the way you pointed that out lmao

permalink
report
parent
reply
44 points

… aaaaaand you’ve killed us all.

permalink
report
parent
reply
51 points

tar -czvf tar_name.tar.gz ./

permalink
report
reply
47 points

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.

permalink
report
parent
reply
14 points

Read it in tf2 medics voice

permalink
report
parent
reply

I didn’t realize that was my default German voice in my head. Thx

permalink
report
parent
reply
1 point

lol that’s honestly a great mnemonic

permalink
report
parent
reply
9 points

Yep, have this one committed to memory. Though if it asked me to uncompress a tarball, then I’d be fucked

permalink
report
parent
reply
9 points
*

tar xzvf this_awesome_file.tgz

… fixed. Apparently I can’t type.

permalink
report
parent
reply
10 points

I think you want to remove the c because that means “create” an archive, and you’re missing a z which applies gzip decompression/compression

permalink
report
parent
reply
1 point

QED 🫠

permalink
report
parent
reply
6 points

File not found, now we are dead.

permalink
report
parent
reply
3 points

Sounds like an error message from a valid tar command

permalink
report
parent
reply
51 points

tar --version

You’re welcome

permalink
report
reply
17 points

I’d have gone with tar --help

permalink
report
parent
reply
11 points
*

It’s insane that this isn’t consistent.

Any combination of -h, -? and --help exists between tools (from 0 to all 3 of them)

permalink
report
parent
reply
5 points

Never seen -?, it’s either -h, --help, or -help for programs that just want to be different.

permalink
report
parent
reply
2 points

So would have been 1:4

permalink
report
parent
reply
6 points

Sorry, the bomb was running MacOS. Your command was not valid and you’ve doomed us all.

permalink
report
parent
reply
1 point

It’s literally there at the bottom.

What isn’t valid is MacOS, it’s macOS now.

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.5K

    Monthly active users

  • 1.3K

    Posts

  • 70K

    Comments