This is a simple script that will rename files. Takes an absolute path as input, and looks for files with a specific string in its name. Will not traverse up the specified path. It will keep a log of the last run in the script’s directory.
I have more than 500 files that need to be renamed, but I am too lazy to do it manually, so I wrote this script to do it for me. All of the files follow two specific patterns in the name as indicated below.