this post was submitted on 07 May 2025
1136 points (96.8% liked)

Programmer Humor

23132 readers
1113 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 2 days ago (1 children)

Nobody wants to deliberately use the wrong compression type when extracting, so modern tar will figure out the compression itself if you just point it at a file. So tar -xf filename works on almost anything. You don't need to remember which flag to use on a .tar.bz2 file and which one for a .tar.xz file.

[–] [email protected] 8 points 2 days ago (1 children)

That doesn't give me a memorable mnemonic though.

[–] [email protected] 9 points 2 days ago* (last edited 2 days ago) (1 children)
[–] [email protected] 3 points 2 days ago (1 children)

yeah, but then how am I supposed to remember "tar" ? :P

[–] [email protected] 6 points 2 days ago

Tape ARchive -eXtract File