880
Old XKCD, still relevant (lemmy.dbzer0.com)

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

you are viewing a single comment's thread
view the rest of the comments
[-] oleorun@real.lemmy.fan 147 points 4 months ago* (last edited 4 months ago)
[-] dohpaz42@lemmy.world 145 points 4 months ago

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

[-] Gork@lemm.ee 36 points 4 months ago
[-] foobaz@lemmy.world 13 points 4 months ago

It's tar --help on my system 💥

[-] 0x4E4F@sh.itjust.works 7 points 4 months ago* (last edited 4 months ago)

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.

[-] dogsoahC@lemm.ee 4 points 4 months ago

tar -?, -h is dereference or smth.

[-] barsoap@lemm.ee 2 points 4 months ago* (last edited 4 months ago)

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.

[-] jflorez@sh.itjust.works 68 points 4 months ago

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

[-] oleorun@real.lemmy.fan 61 points 4 months ago

Fuckin autocorrect was the death of us all.

[-] Phrodo_00@lemmy.world 27 points 4 months ago* (last edited 4 months ago)

Or by using gnu style options on potentially bsd tar

this post was submitted on 15 May 2024
880 points (98.5% liked)

linuxmemes

20705 readers
2513 users here now

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!

founded 1 year ago
MODERATORS