I am new to bash shell programming and need help on this
I have a directory "production\new\images\sp" which contains multiple sub-folders with multiple file name in this format "xxxxx_xxxxx.jpg". I like to rename each of the file name from this format to "xxxxx-xxxxx.jpg" format in each sub-folder.
example:
86193730_43134.jpg =====> 86193730-43134.jpg