News for hackers. Stuff that matters.
Re:Renaming files with mv without typing the name two times by b0rsuk on Tuesday April 14, 2020 @02:31AM (#22863261)
If interactive editing is the big win, you can install 'mc' and it will give you many more interactive editing capabilities.

Renaming via bash expansion has the additional advantage that it's script-friendly.

Re:Renaming files with mv without typing the name two times by dgl on Tuesday April 14, 2020 @02:38AM (#22863285)
I really like that zsh can be set to expand globs on tab, both useful for editing when a glob is “close enough” and for checking the result quickly. I think a lot of the value of a script like this is you don’t have to switch contexts or think any different before you use it.