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

Programmer Humor

32718 readers
399 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) 48 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 9 months ago

tar -cvf CowsLookLikeMaps.tar CowsLookLikeMaps

[–] [email protected] 7 points 9 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 9 months ago (4 children)

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

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

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

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

Regex, the write only language.

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

Nothing a .* can't solve

[–] [email protected] 1 points 9 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 9 months ago

tldr tar | head -n 1

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

Or just double click.

[–] [email protected] 3 points 9 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 9 months ago

Btw, GNU tar has long options.

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

I always liked dtrx (do the right extraction)

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

tar -h

I'll take my award in all ones please

load more comments
view more: ‹ prev next ›