Sometimes you have to rename multiple files and remove some characters. For instance After compressing images you have multiple jpg files with “min” characters:

In this case we want to remove part of file name – “min.”. In order to do it we will use rename command:

This command will remove “min.” from every jpg file (*.jpg). If you want to remove from any file in the directory, type this:




Leave a Comment