Possible to rename only files in constant-named folders?

A swapping-ground for Regular Expression syntax

Possible to rename only files in constant-named folders?

Postby wessin » Wed May 09, 2012 10:06 pm

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..
wessin
 
Posts: 9
Joined: Wed May 09, 2012 9:54 pm

Choose Multiple Dirs by dragging them into BRU

Postby truth » Sat Aug 10, 2013 7:26 am

The easiest way to specify SubDirs is to drag-them into BRU
In BRU's left-pane, click the top Computer-icon to remove anything in the right-pane
Fill in your settings & make sure 12Folders/SubFolders are both UNchecked

In Explorer, select Root_Folder & put type:folder *BMP) in the search-bar to list DirNames ending as BMP)
Drag those folders into BRU's right-pane to display only the files-within them (assuming only #12Files checked)
Sorry, I feel your pain as I'm certainly no fan of Windows Explorer, but it seems like the best workaround
truth
 
Posts: 221
Joined: Tue Jun 25, 2013 3:39 am
Location: Earth, OrionArm, MilkyWay


Return to Regular Expressions