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

Programmer Humor

30188 readers
1506 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
[–] MajinBlayze@lemmy.world 67 points 10 months ago (3 children)
[–] QuadratureSurfer@lemmy.world 34 points 10 months ago (1 children)

Thanks! This will definitely help me to remember it from now on.

Me 6 months from now:

tar -EZVF

[–] zurohki@aussie.zone 18 points 10 months 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.

[–] MajinBlayze@lemmy.world 8 points 10 months ago (1 children)

That doesn't give me a memorable mnemonic though.

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

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

[–] exu@feditown.com 6 points 10 months ago

Tape ARchive -eXtract File

[–] lord_ryvan@ttrpg.network 1 points 9 months ago

I was about to say tar -CompressZeVuckingFile; great mnemonic and I use it every time!