Re:Interesting commands for the Linux shell
by pmoriarty on Thursday September 14, 2017 @11:09AM
(#15248772)
Check out qmv from renameutils.[1] Using it you can use your $EDITOR to batch-rename files. It does sanity checking like making sure you don't rename two files to the same name and lets you fix such mistakes before trying again.
Re:Interesting commands for the Linux shell
by akx on Thursday September 14, 2017 @06:59AM
(#15246709)
I use this `rename` (available from Homebrew as `rename`): http://plasmasturm.org/code/rename/
For example, I can do the following:
and this will rename all of my files that start with flight. to flight-new. preserving the file extension. So useful, when you've got a bunch of different files with the same name but with different extensions such as html, txt and sms.