I have a folder and subfolder structure containing many image files to which I need to add a specific prefix.. The directory structure is like so:
Root_Folder \
\ variable_name(i.e.111) \ constant_name(i.e.BMP) \ bunch_of_images
\ variable_name(i.e.222) \ constant_name(i.e.BMP) \ bunch_of_images
\ variable_name(i.e.333) \ constant_name(i.e.BMP) \ bunch_of_images
\ variable_name(i.e.444) \ constant_name(i.e.BMP) \ bunch_of_images
There is a top-level "root" folder...
Under that folder are many subfolders, each with a different name.. (111 or 222 or 333 or 444, etc). The names are all varying length.
Inside each of those folders are subfolders that are all named the same (BMP).
Inside of the BMP folders are a bunch of images.
I'm trying to come up with a regex to isolate just the BMP subfolders and their contents, so that I can rename the contents of only the BMP folders and ignore the rest, but so far am not having any luck..