1. open a folder
2. Click the "File Type" column
3. Drag to select all txt files
4. Hold Ctrl, click to deselect the ignore_me.txt
1. open a folder
2. Click the "File Type" column
3. Drag to select all txt files
4. Hold Ctrl, click to deselect the ignore_me.txt
If we extend the problem to do something like changing the extension (very common for me) for all selected files, the GUI is useless here. Say I want to turn all .txt files => *.txt.old for a cheap archival? In the GUI, I don't know how to do this. On the CLI, I can simply do a 'find -exec', which also allows me to recursively do the change.
Sure, this would be trivial to implement (even Eclipse has a dynamic rename for variable names) with an extension, but this has to be done for each and every possible activity.
> Here's a simple task: print a list of all the files with a txt extension in the current directory except for ignore_me.txt.
Your solution, and one of the the sibling comment solutions, will select all of those files, not print a list of them. Pedantic, perhaps, but the solution outlined by the OP is not mirrored by your solution.
This isn't automation, this isn't anything but simple file manipulation, that most graphical operating systems are incapable of; it's also a simple display of how graphical UIs fall short of the shell.
5. Shift+right click the selected files, choose "Copy as path" (assume you are using Win7)
6. Paste the result in notepad
In other words, even for people like me who when asked, "how would u automate that?" would reply, "I'd write a shell script or some Emacs Lisp," it is IMHO often better to do it in a GUI when automation is not necessary. (No joking.)
That is only because most things that need automization have already been automatic. The advantage of cli is that when you need to automate something, the tools are already there, as apposed to needing to find a completly different set of tools, or manually do the same simple procedure a hundred times.
That is not an effective response to my point that at any given time, the task I am doing probably does not need to be automated.
Yes, CLI has advantages. Some of its advocates however seems to be blind to some of its disadvantages.
For the automation part, yes it's going to need scripts, but can your oneliner script handle this file name like this?
-\;?.txt
I think using the best tools suited for the task. If you need scripts to do the job, use scripts, if just few simple clicks, I don't want to bother find exec xargs pipe here and there.
1. Open folder
2. `type:text` in search box
3. Click 'ignore_me.txt' file to exclude, if you can't find it start typing 'ign...' until it shows up
4. Edit > Invert Selection or Alt,E,I