this post was submitted on 12 Mar 2024
724 points (98.9% liked)

Programmer Humor

32000 readers
1744 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."

(page 2) 47 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 6 months ago

tar -cvf CowsLookLikeMaps.tar CowsLookLikeMaps

[–] [email protected] 8 points 6 months ago (1 children)

tar xzvf file.tar.gz I got it memorized after installing gentoo over and over again from stage 3 back in 2005

[–] [email protected] 1 points 6 months ago

Same, but it all goes to shit when I need to create an archive

[–] [email protected] 7 points 6 months ago

I just remember zxvf, but if I have to do anything else then extract a tar.gz we’re fucked.

[–] [email protected] 5 points 6 months ago (4 children)

Yeah tar is easy. Regex on the other hand..

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago)

I can remember regex, but I need to check tar almost every time.

[–] [email protected] 2 points 6 months ago

Nothing a .* can't solve

[–] [email protected] 2 points 6 months ago

Regex, the write only language.

[–] [email protected] 1 points 6 months ago

Oh jeez, I use regex at least 2-3 times a week. It's really not too bad for simple stuff and doing basic search and replace operations in text editors

[–] [email protected] 5 points 6 months ago

tldr tar | head -n 1

[–] [email protected] 3 points 6 months ago (1 children)
[–] [email protected] 3 points 6 months ago

Or just double click.

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

tar -xvf is the only one I know

And I think it was tar -cvf for creating .tar files?

[–] [email protected] 2 points 6 months ago

I always liked dtrx (do the right extraction)

[–] [email protected] 2 points 6 months ago

Btw, GNU tar has long options.

[–] [email protected] 1 points 6 months ago

tar -h

I'll take my award in all ones please

load more comments
view more: ‹ prev next ›