r/programming • • Mar 12 '21

7-Zip developer releases the first official Linux version

https://www.bleepingcomputer.com/news/software/7-zip-developer-releases-the-first-official-linux-version/
5.0k Upvotes

377 comments sorted by

View all comments

Show parent comments

19

u/folkrav Mar 12 '21

Honestly, I'm a huge terminal fan, I basically always have a terminal window opened somewhere. But that's just me - it has everything to do with how I'm used to use my computer, the tasks I want to accomplish and the tools I decide to use to complete them.

For unzipping archives I admittedly never remember the tar flags for extracting whatever type lol, so no, CLI tools aren't any "easier" than a GUI for sure. I do have a handy alias that uses the right command depending on the file extension though, so there's that lol

I just don't understand why people feel like they can judge other people's workflow. If it works for them, it works for them. If they feel the need to optimize it or make it more "efficient" in some way, they can do it. Who the hell am I to tell them that they can't point and click, or that it's inferior in any way? That's the whole point of FOSS: freedom - including freedom of choice, of doing things the way you want, of using the software you prefer, etc.

15

u/OriRig Mar 12 '21

For unzipping archives I admittedly never remember the tar flags for extracting whatever type lol

I don't think anybody does. 😅

8

u/krzyk Mar 12 '21

It is quite easy if you do it often. Just tar xvf and if you have it gzipped bzipped or xzipped just do: tar axvf

a is for autos election of decomoressor

4

u/Kormoraan Mar 12 '21

you can leave the v flag if you don't want to read what's being done at the moment.

1

u/krzyk Mar 13 '21

Yes, but I like to have feedback :-)

3

u/Astrinus Mar 13 '21

Modern GNU tar has implicit autodetection, tar xf is sufficient.

0

u/Reihar Mar 13 '21

Look who's boasting about having the privilege of using GNU tar!

-3

u/AFlyingYetOddCat Mar 12 '21

I can't tell if you're being serious right now. If so, this is why people don't get linux or command line programs.

2

u/Kormoraan Mar 12 '21

that sounds like your opinion.

yes, this keeps some people out. simultaneously, it keeps others in

2

u/krzyk Mar 13 '21

Because most people are just users like grandpa. They sometimes (most of time) don't know what compression is.

Linux is a domain of mostly power users.

1

u/Kormoraan Mar 12 '21

jokes aside am I the only one who reads the fucking manual and after like 10 times of usage, learn the syntax?

this mystery around tar is just ridiculous imo. the basic flags are easy to remember and the syntax makes perfect sense

12

u/ESCAPE_PLANET_X Mar 12 '21

Tab complete inside of commands is amazing.

5

u/StoleAGoodUsername Mar 12 '21

I think applying that methodology to GUIs can get you the best of both worlds, though. Fuzzy action search, like the command palette in Visual Studio Code, does wonders for my productivity when I haven't yet memorized a keybinding for a feature. No hunting around with a mouse, or even using the mouse at all, yet no learning curve like vim/emacs keybindings. Just the speed at which you can type out the first couple of characters of what you want the application to do.

1

u/maliciousmonkey Mar 13 '21

Unity had this. The GNOME folks at Red Hat killed it along with the rest of Unity because they couldn't control it.

2

u/StoleAGoodUsername Mar 14 '21

I thought it was a pretty nifty feature as implemented in Unity. It's really hidden away but macOS has it as well in the form of a search bar in the help menu.

2

u/brownej Mar 12 '21

I admittedly never remember the tar flags for extracting whatever type lol

I know this pain. Idk if you know this, but if not, you can use ctrl-r to search through your bash history. So if I can't remember the flags, but I know I did it previously, I'll just type ctrl-r tar.

14

u/salvoilmiosi Mar 12 '21

Xtract Ze Vucking Files, that's how I remember it.

1

u/NowanIlfideme Mar 12 '21

Yep, saw that trick on reddit and helped me several times already!

1

u/midnightketoker Mar 13 '21

I just say "zixvif" in my head because I'm normal, but also I recently found a program called 'cheat' on github for editable cheatsheets, so simply run 'cheat tar' and it's like the stackoverflow snippet you would've taken another 10 seconds to google each time

4

u/folkrav Mar 12 '21

Oh yeah, I have mine set up with fzf for even more history fuzzy finding goodness!

1

u/brownej Mar 12 '21

Oh, that sounds useful. I'll have to look into that

4

u/apocryphalmaster Mar 12 '21

Whoa, I don't know how I missed that. It's really useful. I was just doing grep foo ~/.bash_history