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.”
Post funny things about programming here! (Or just rant about your favourite programming language.)
I wish more people knew about dtrx (Do The Right eXtraction).
Or in this case, https://github.com/tldr-pages/tldr
And it’s fast implementation, https://github.com/dbrgn/tealdeer
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
I didn’t know about
-d
.explainshell.com to the rescue!
They meant the command dtrx, the combination of dtrx as parameters to tar make no sense. Extract AND append?
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