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

Programmer Humor

32410 readers
680 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] 11 points 8 months ago (3 children)

I wish more people knew about dtrx (Do The Right eXtraction).

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

Ayy Debian has been my main for like ten years. Dtrx is one of the ten things I apt immediately every time I have a re install

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

They meant the command dtrx, the combination of dtrx as parameters to tar make no sense. Extract AND append?

[–] Deebster 1 points 8 months ago

haha, ok thanks. So https://github.com/dtrx-py/dtrx

I'd initially assumed that it was a mnemonic but yes, listing and appending and extracting together is nonsensical, as tar notes: tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option

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