this post was submitted on 12 Mar 2024
757 points (98.8% liked)

Programmer Humor

32472 readers
589 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

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."

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 110 points 8 months ago (9 children)

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.

[–] [email protected] 25 points 8 months ago (5 children)

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.

[–] [email protected] 3 points 8 months ago

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.

load more comments (4 replies)
load more comments (7 replies)