News for hackers. Stuff that matters.
Re:You Don't Need a GUI by aidenn0 on Friday April 09, 2021 @01:24AM (#26747003)
You can't undo a file-move in (most?) GUI file managers either.
Re:You Don't Need a GUI by d110af5ccf on Friday April 09, 2021 @04:18AM (#26747960)
Windows Explorer, macOS Finder, KDE Dolphin, and GNOME Nautilus all beg to differ.

The issue is that tasks on the CLI tend to be split between many different utilities. So you'd either need a standardized method for sharing an undo tree between the different utilities, or alternatively to integrate all the different tasks under a single program.

Re:You Don't Need a GUI by aidenn0 on Friday April 09, 2021 @12:13PM (#26752390)
I didn't see how this could work in the general case and indeed it doesn't on dolphin. Consider this folder tree:

  + foo
  +- bar.txt
  + bar
  +- bar.txt
Moving the foo/bar.txt to bar/ in Dolphin then undoing leaves you with an empty bar/
Re:You Don't Need a GUI by d110af5ccf on Friday April 09, 2021 @04:24PM (#26755636)
Yeah there are definitely a lot of edge cases when it comes to filesystem operations. It works for the simple stuff though (ex accidentally grabbing the wrong file or dropping it in the wrong folder).

I mostly just use Ranger in a VTE to be honest. Cut/Copy/Paste and directional navigation of a tree using standard Vim keybindings is just more fluid than anything with a mouse could ever hope to achieve. Add to that dropping to the shell with `S` with my hands already on the keyboard and it's by far the best workflow I've come across.

Re:You Don't Need a GUI by aidenn0 on Friday April 09, 2021 @04:53PM (#26756008)
Ranger is great; I do wish it had the ability to have windows rather than just tabs; it would be easy enough to setup an orthodox style view if that were the case.
Re:You Don't Need a GUI by aidenn0 on Friday April 09, 2021 @04:02PM (#26755374)
To late to edit my other reply, but the fact that I use 3/4 of those regularly and didn't know they had that feature is possibly a point against "discoverability" being something GUIs naturally have.
Re:You Don't Need a GUI by inb4_cancelled on Friday April 09, 2021 @02:49AM (#26747408)
macOS and AFAIK Windows have that