rnm
Bulk Rename Utility. tldr-pages
On Linux
Linux
Replace a search string with a replacement string in filenames
rnm -ss old -rs new path/to/directoryIdentifyUse a fixed (literal) search and replace string instead of regex
rnm -ssf old -rs new path/to/filesIdentifyAdd an auto-incremented index to filenames starting from 1
rnm -i 1 -inc 1 -rs _ path/to/filesIdentifyRename files using a list of new names from a text file
rnm -ns/f path/to/names.txt path/to/filesIdentifyRename only files (ignoring directories and links)
rnm -fo -ss pattern -rs replacement path/to/filesIdentifySort input files by modification time before renaming
rnm -s/mt -ss pattern -rs replacement path/to/filesIdentifyRun a simulation without making actual changes
rnm -sim -ss pattern -rs replacement path/to/filesIdentifyUndo the last renaming operation
rnm -uIdentify