this post was submitted on 10 Nov 2024
119 points (87.0% liked)

Linuxsucks

188 readers
41 users here now

Rules:

  1. FOSS advocates and Linux evangelists aren't welcome. -We ask that you block us.
  2. Moderation is heavy handed. Try to stay on topic.
  3. No Complaining Mute the sub if users, content, or rules bother you

founded 1 month ago
MODERATORS
 

Bonus question: With or without - ?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 2 weeks ago (1 children)

The problem is, tar isn't a packing program, it's a tape archive program that's been repurposed for general files-to-file archival with optional compression plugins

At this point, if it were written today, it probably would behave as you suggest, but changing it now would break too many things that use it

[โ€“] [email protected] 6 points 2 weeks ago

Then it would've been time to deprecate it for this purpose, and use something sensible instead, say about 13 years ago.
All the old stuff can then keep using tar, but the nicer option can become the standard for user-friendly file extraction.