this post was submitted on 21 Sep 2024
356 points (99.2% liked)

Open Source

31218 readers
283 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Can't imagine using my system without this.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 1 month ago* (last edited 1 month ago) (8 children)

As someone new to Linux, what would be a few reasons that you prefer this to using the built-in GUI file browser?

[–] [email protected] 4 points 1 month ago

Other people have given great reasons, but I will also mention that as someone who lives inside the terminal it's often faster and easier to open it right there rather than getting a GUI one going. I do still use one for things that are easier to do with a graphical file manager though, no problem having both

[–] [email protected] 1 points 1 month ago

I'm fairly new to Linux also, Debian with Gnome.

I need CLI filemanager when doing something outside home directory etc.

For example fix a desktop shortcut and you can't start Nautilus "as an administrator " afaik. Or it won't ask for root password.

[–] [email protected] 2 points 1 month ago

I wouldn't bother unless you find yourself doing more through the terminal than through GUIs.

I don't have a built-in file browser (not using a DE, just i3 window manager), so I use ranger and pure GNU coreutils commands mostly but I still find myself missing the drag-and-drop features that FreeDesktop integration provides for stuff like nautilus.

[–] [email protected] 36 points 1 month ago (3 children)

I can't believe no one mentioned this, but: remote access.

I spend most of my day connected to machines via SSH and yazi offers a great UX with file previews and all. Using kitty I even get image previews in the terminal.

[–] [email protected] 1 points 1 month ago (1 children)

Well, do you prefer kitty or yazi?

[–] [email protected] 7 points 1 month ago (1 children)

They are two different things. Yazi is a file manager and Kitty is a terminal emulator.

[–] [email protected] 1 points 1 month ago

Ok, Dolphin would be the comparative here from KDE Qt but, since is made for GTK probably Nautilus is the one to be compared.

[–] [email protected] 4 points 1 month ago (1 children)

remote access

To be fair, X11 forwarding is a straightforward thing, bearing in mind any security/performance/administrative restrictions which may apply to your situation.

Alternatively, SSHFS can be used to mount a remote directory locally.

[–] [email protected] 5 points 1 month ago* (last edited 1 month ago) (1 children)

I've used plenty of sshfs a few years ago, but x11 forwarding is a compromise. The latency makes it painful to work with for more than a few minutes.

[–] [email protected] 3 points 1 month ago

Yeah, X11 forwarding is only fine on a campus wide network, maybe city-wide at most, if the wan is fast enough.

Sshfs would also be painful for operations processing a lot of data (grepping gigs of log files or even creating thumbnails of images to browse).

[–] [email protected] 2 points 1 month ago (1 children)

Do image previews work over SSH? I admit I've never actually tried it...

[–] [email protected] 4 points 1 month ago
[–] [email protected] 8 points 1 month ago* (last edited 1 month ago)

Download 5 seasons of some show from multiple sources or some artist's entire discography, and want to normalize all the file names? It is way easier in the terminal.

I'll check this out, but I use https://github.com/stevearc/oil.nvim for such tasks as I have nvim's full suite of editor commands to rename all the files way faster than I could in a GUI. I'm sure there are GUI apps to perform a similar task, but I already know how to use nvim.

[–] [email protected] 7 points 1 month ago

You can probably do some more advance tasks via CLI. Also usually lists information faster. But honestly you will be overall fine with GUI a majority of the time.

Some people just like being in the terminal.

[–] [email protected] 8 points 1 month ago* (last edited 1 month ago)
  • Terminal file manager are useful on a server over ssh.
  • ripgrep and fd support is better than any GUI file manager find and replace.
  • Some people like using vim keybindings
  • The three panel view is really useful. On the left is the parent folder, the middle the current and on the right a preview, e.g. the selected folder or the contents of a picture or a text file. It's faster to navigate and pop back into the shell.
[–] [email protected] 28 points 1 month ago

I can navigate without using my mouse. It's faster for me. You can create tabs, copy and paste files, extract compressed files, run commands, and so much more without lofting my hand. My favorite feature is the ability to preview files without even opening them. I'm relatively new to linux too.