by TheGhost78 » Mon Dec 08, 2025 11:48 am
Yes. So, for example, I have a parent folder named "2023" which contains a subfolder called "2023-12", which in turn contains its own subfolder called "2023-12-23".
I add some more pictures on the parent folder level, 2023; I use a saved .bru to copy the first few characters of the pictures' filenames up to the first space and use them as the new folder name, moving the files into the newly created folder "2023-12-23". I use a second .bru to then move the newly created subfolder, 2023-12-23, into the subfolder 2023-12. However, because 2023-12 already contains 2023-12-23 then it adds the new one as "2023-12-23_1" instead of merging.
First .bru for files, RegEx (1):
^(\d{4}-\d{2}-\d{2}) (\d{2}.\d{2}.\d{2}) - (.+)
\1\\\1 \2 - \3
Second .bru for folders, RegEx (1):
^(\d{4})-(\d{2})-(\d{2})
\1-\2\\\1-\2-\3