News for hackers. Stuff that matters.
Re:Renaming files with mv without typing the name two times by bJGVygG7MQVF8c on Wednesday April 15, 2020 @04:52PM (#22882904)
> (I presume) your rush to demonstrate your bash knowledge

Heaven forbid someone share knowledge. Let's interpret as uncharitably as possible and passive-aggressively love/hate.

> Brace expansion doesn't do that, doesn't show you the new filename before you commit the name change

Allow me to rush to demonstrate my zsh knowledge for any passersby who might benefit:

% mv foo-bar-{bar,baz}.txt|[TAB]

% mv foo-bar-bar.txt foo-bar-baz.txt

There are no comments on this comment yet.