Who are these for? People who use the terminal but don’t like running shell commands?
OK sorry for throwing shade. If you use one of these, honestly, what features do you use that make it worthwhile?
Who are these for? People who use the terminal but don’t like running shell commands?
OK sorry for throwing shade. If you use one of these, honestly, what features do you use that make it worthwhile?
I use dired in Emacs.
I assume you mean “why use these instead of file-manipulation commands in bash?”
I use both.
There are a handful of tasks that are easier in dired than bash.
Making small modifications to filenames that aren’t amenable to programmatic changes. You can just toggle the read-only flag on a dired buffer, edit the filenames, and then hit C-c C-c when done.
Marking a set of files to perform an operation on where that set cannot trivially be expressed using tools on bash. Think, oh, “which movies do I like enough to want to keep around”. This is especially handy when moving a number of files to another directory, which I think is why people often like the two-pane approach of orthodox file managers. Dired is not an OFM, but it can act like that if you have two dired windows open, using the other as the default target for the operation.
Dealing with filenames containing obnoxious-to-type characters like weird Unicode stuff. If I want to delete the one file in a directory whose name consists of a bunch of kanji, it’s easier to just manually select it in a list.
Navigating where I usually want to see the contents of each directory. I’ll often navigate around in dired while building up up an emms playlist. Browsing a list of movies to play.
It’s also not really a file manager, but I do use ncdu to see what’s taking up space on a disk. I’ll also use
du -h|sort -h|less
, but ncdu is, like file managers, more convenient when just browsing around the tree and looking at each as one does so, while manually selecting a few items to operate on (deleting).Is it common than whenever somebody brings up “emacs” its a wall of text? Please don’t take seriously.