Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
Mmv is command-line tool which allows the user to move, rename, copy, append and link large amounts of files with a single command. The tool is especially useful when you need to rename a lot of files that have similar filenames, yet subtle differences.
Although mmv does more than just renaming files, this article will focus only on renaming because that is what I use it for the most. The tool is best explained using an example.
Suppose you have the following files in a directory:
You want all the files that start with ‘foo’ to instead start with ‘bar’.