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
1108M

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
78M

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

Looks, not sounds. Ahoj!

arthurpizza
link
fedilink
English
38M

I still use that. 😅

Tb0n3
link
fedilink
English
258M

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
258M

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

xigoi
link
fedilink
138M

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
  • 144 users / day
  • 303 users / week
  • 694 users / month
  • 2.83K users / 6 months
  • 1 subscriber
  • 1.56K Posts
  • 34.7K Comments
  • Modlog