source

img title=“I don’t know what’s worse–the fact that after 15 years of using tar I still can’t keep the flags straight, or that after 15 years of technological advancement I’m still mucking with tar flags that were 15 years old when I started.”

Krafty Kactus
link
fedilink
English
1109M

A little trick I learned on here was to imagine yourself as a little evil man saying “Extract ze files!” in a German accent. Extract ze files >>> xzf.

Ziixe
link
fedilink
79M

That sounds a lot like Czech, “ze” means “from” if you translate it into English

Looks, not sounds. Ahoj!

arthurpizza
link
fedilink
English
39M

I still use that. 😅

Tb0n3
link
fedilink
English
259M

Only works for tar.gz. Remember there’s also tar.xz, tar.bz, tar.bz2 and half have their own extractor flag. FUN. It’s usually J.

Zagorath
link
fedilink
259M

The post only calls for “a valid tar command”, not that it has to work for any specific circumstance.

xigoi
link
fedilink
139M

xaf (extract a file) auto-detects the format.

Extract Any File

Extract All Files

I don’t remember the last time I had to worry about the compression. I simply run tar xf myfile.tar.whatever and it works every time.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 39 users / day
  • 159 users / week
  • 433 users / month
  • 2.41K users / 6 months
  • 1 subscriber
  • 1.61K Posts
  • 35.6K Comments
  • Modlog