In any case there are like a bazillion of GUI git tools. Are you certain each and all of them support this feature? If someone doesn't know any of them, what are the odds the first GUI tool they install has this feature? The hidden cost of finding the "right" tool is overlooked in its advocacy.
1. Tables you can sort
2. Tables you can sort on the thing you actually care about
3. Being able to select multiple entries and act on your selection
It’s not too hard to imagine criteria which could make the problem much harder for a gui, e.g. only doing the operation in a subdirectory (if the sorting is stable this isn’t so bad), or only on files not in a subdirectory (stable sorting won’t help here, you’d need the gui to let you eg search for / and then remove those things from your current selection), or only operating on .h files (you’d need a search->select feature again), or doing an operation that the gui doesn’t support on multiple files, or passing the list to some other tool (maybe you want to search makefiles for references to the deleted files).
Something that a gui may be able to handle but that often screws up shells would be file names with newlines or spaces in them.
When's the last time you accidentally delete 200 files and needed to restore them? Probably because you were using a shell...
Oh yeah, and if you accidentally delete folder in a GUI? Usually you can just press ctrl-z, undo!
With the shell, the second time you do it is a few keystrokes, if even. Wanna do it across multiple projects, it’s super easy without ever loading any of them in your IDE.
Wanna share it with teammates, you simply need to pass a script file to them, and they can do it without having to do anything.
And now finally if you need to incorporate this behavior in your headless CI? It’s the same script, instead of having to putz about with the CI configurations or whatever.
b) a few keystrokes === a few clicks
This was originally done in a couple of seconds without deeply thinking about it (hence originally using grep instead of `awk '/re/'`).
(Edit: quote)
It'd literally be click status column to sort, click top entry, shift-click bottom deleted file, right-click, restore. Done, a couple of seconds without even thinking about it.
And somehow this simple task in a GUI inspired a blog post about how useful the shell is.
I'm not going to deny a shell is extremely useful, and knowing far more than I do makes you a better programmer, but there's also using the right tool for the job.