this post was submitted on 07 May 2025
1134 points (96.7% liked)

Programmer Humor

23485 readers
1802 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
[–] zurohki@aussie.zone 17 points 2 weeks ago (4 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.

[–] MajinBlayze@lemmy.world 8 points 2 weeks ago (3 children)

That doesn't give me a memorable mnemonic though.

[–] exu@feditown.com 9 points 2 weeks ago* (last edited 2 weeks ago) (2 children)
[–] anzo@programming.dev 3 points 2 weeks ago (1 children)

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

[–] exu@feditown.com 6 points 2 weeks ago

Tape ARchive -eXtract File