Rename files in different subfolders
Hello,
I am looking for a script to do the following:
I have different files in various folders and subfolders that I wish to rename.
So I need a script to search for files in all folders and subfolders of my external drive and find all files ending in .doc.
Then I need each file to be renamed as "report.doc". (there is only one file per subfolder so there is no danger of having two files with the same name.)
Can someone show me how to do that? I found similar posts but it was not what I was looking for.
Thank you very much for your time.