758
tar -vczfx123 ought to do it
(imgs.xkcd.com)
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).
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
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
Or in this case, https://github.com/tldr-pages/tldr
And it’s fast implementation, https://github.com/dbrgn/tealdeer