Another approach I recently discovered is an old but beautiful Unix-style tool for renaming files: vidir - edit a directory in your text editor. It’s part of the moreutils suite [1].
You get the list of filenames in your editor – edit them as you like, save, exit, and it renames the files. It uses whatever editor is set in your $EDITOR env var, so it doesn’t have to be vi/vim.
You can also pipe in a list of files, e.g. `find . -type f | vidir -`, to edit just the files you want - and you can even change paths (add, rename, remove directories) in the editor to move files around easily.
To try it quickly on macOS: `brew install moreutils`
https://www.hammerspoon.org/Spoons/URLDispatcher.html
Here's a cleaned up version of my config... I also mapped global cmd-shift-1/2/i to focus my profile and incognito windows (and create a window if none already existed):
https://gist.github.com/beaugunderson/d1ca2218b9b272f3ac3573...
For Google Drive links I open a picker that lets me choose from two chrome profiles and incognito.
I use OpenIn for this [1] (it’s paid, but a one-time purchase at a very reasonable price). It works with URLs too, supports “browser profiles”, and lets you create logic using JavaScript (e.g., do X if the filename contains Y, or do Z if a modifier key is pressed).
It works really well and even has the ability to “fix” what external apps have changed. I plan to use this on new Macs to reconstruct my app associations and rules.
I do wish the rules were defined in plain text files — sometimes it’s hard to follow the logic through the UI and the way it handles things.
Another comment mentions Hammerspoon (which I used in the past — it was very nice). Maybe I can rebuild part of my current setup with it.
This is the feature I use the most.
I found an issue asking for the same feature: https://github.com/Huachao/vscode-restclient/issues/1311