1132
you are viewing a single comment's thread
view the rest of the comments
[-] eager_eagle@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

I got tired of looking up the options for each possible combination of archiving + compression, so today I have a "magic" bash function that can extract almost any format.

Then for compressing, I only use zip, which doesn't need any args other than the archive name and the thing you're compressing. It needs -r when recursing on dirs, but unlike "eXtract" and "Ze", that's a good mnemonic.

this post was submitted on 07 May 2025
1132 points (100.0% liked)

Programmer Humor

23172 readers
914 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