OMG always assumed that -c always stands for "compress" and I always placed .gz at the end to remember to place -x when extracting
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
daily-standup.png eh... :)
Who is taking pics of the standup.. :)
So a serious question from someone who can't remember console commands ever despite using them constantly.
Why are so many linux CLI commands set up with defaults that no one ever uses? Like if you pretty much always need -f
, -v
is often used, and --auto-compress
is needed to recognize type by extension. Why aren't those the defaults to just using tar
?
A lot of applications I find are like this too, they don't come with defaults that work or that anyone would ever use.
That looks really cool. And finally a guide that knows -z
is not necessary all the time.
Or -I 'compress-command' -cf ...
if not supported.
Check out atool
Don't you have to specify the compression algorithm when extracting? I always use tar -xzf
for gzip files and if I remove -z it just fails.
great, now how do I use it together with the 'feather' command?
Do more like this (・へ・)
tar
is just the worst shell command in existence. Why do people still bother with it?
What do you use instead?
I use zip/unzip if I have the option
I avoid it and use zip or 7z if I can. But for some crazy reason some people stil insist on using that garbage tool and I have no idea why.
Because everyone else does, and if everyone else does, then I must, and if I do, then everyone else must, and then everyone else does.
Repeat loop.
For all I care it goes on the same garbage dump as LaTeX.
speaking of which, you might want to check out typst if you haven't heard of it - I really hope this replaces most uses of LaTeX in the next years.
Thanks I'll keep an eye on that project. I did try pandoc and LyX in the past to ease the pain but typst appears to have the courage to finally let LaTeX be and not build a new wrapper around it.
You do you. Compression is waste of time; storage is cheap in that you can get more, but time? Time, you never get back.
You've never used find
have you? Let's not even get started on the config file syntax for sendmail
either.