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