Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
exerceo1192173dPerhaps the creators of tar hate Tarl Warwick, so they avoided "tar -l".
Edit: Nah, impossible. tar was made before Tarl was born. -
netikras35221172d@exerceo I mean, if you treat chatgpt as an internet-based encyclopedia, as a search engine, it's a rather handy tool.
As with all search engines, you have to double-check the results. But at least you get the clues to check for -
nitnip1814171dMy distro came with a couple of useful tar aliases in the default .bashrc
alias tarnow='tar -acf '
alias untar='tar -zxvf ' -
dder2323171dIf I remember correctly, you don’t even need the -z option to untar. Also that -v option I find pretty useless too.
I use ‘tar czf abc.tgz cute-chick.png’ and ‘tar xf abc.tgz’
It’s only hard if you make it hard.
(Yet another rant on TAR commands.)
Whose idea was it to make TAR file listing "tar -t" and not "tar -l"?
How does it make sense? It goes against intuition.
It would have been more logical to make "-t" tarfile instead of "-f", and to make "-l" list.
Obligatory: https://xkcd.com/1168/
rant
tar xvzf