this post was submitted on 10 Nov 2024
118 points (86.9% liked)

Linuxsucks

172 readers
148 users here now

Shit on Desktop Linux and its evangelists here

No evangelizing for Linux

founded 1 month ago
MODERATORS
 

Bonus question: With or without - ?

you are viewing a single comment's thread
view the rest of the comments
[–] rtxn@lemmy.world -3 points 6 days ago* (last edited 6 days ago) (2 children)

"The world should conform to my expectations, not long-standing conventions!"

But if you engage your thinking meat, you might just discover the magic of alias untar='tar xvf'.

[–] superkret@feddit.org 11 points 6 days ago* (last edited 6 days ago) (2 children)

"long-standing conventions" is how you end up with Internet Explorer still pre-installed on Windows Server 2025.
And when was the last time you used the tar "tape archiver" to archive things on tape?

[–] rtxn@lemmy.world 11 points 6 days ago (1 children)

Magnetic tapes are still being used as long-term storage, as backups for example. They are inexpensive, compact, have zero moving parts, and are more durable than optical media. All you have to do is keep them in a location that is around room temperature, relatively dry, and away from magnets.

But that's not really what tar does. It simply collects the input files and writes them to a single contiguous data stream -- a file not unlike an actual tape. It's worked like that for, I shit you not, 45 years, and it is very much a single project holding up modern technology situation. I fear to imagine what would happen if it were to change.

[–] Steve@startrek.website 1 points 6 days ago (1 children)

What the fuck zero moving parts? Are you high?

[–] milicent_bystandr@lemm.ee 1 points 5 days ago

That would be the sticky tape. Also good for long term storage.

[–] corsicanguppy@lemmy.ca 4 points 6 days ago (1 children)

You may not have heard this, but tar can be used to work with non-tape archives.

In fact, non-tape archives are the overwhelmingly popular workflow.

[–] electricyarn@lemmy.world 0 points 6 days ago (1 children)

Does having to explain the history of a tool to understand why it works that way make it more or less useful?

[–] laurelraven@lemmy.zip 3 points 6 days ago

Neither, but understanding that and the ubiquity of that tool might help understand why it can't simply be changed

[–] pinkystew@reddthat.com -3 points 6 days ago (1 children)

Why are long standing conventions a good thing? Slavery was a longstanding convention.

[–] laurelraven@lemmy.zip 4 points 6 days ago

No human rights are violated by tar functioning the way it does, but changing it would cause a lot of problems without good reason since you could just as easily write an alias or wrapper to simplify the usage