Page 1 of 1

avoid broken rules when renaming/moving folders

PostPosted: Wed May 27, 2026 1:04 pm
by aumano
sorry if this was asked before, i did not find anything.

here is the simplifed data structure (:

AMINALS
├─ _NEWDATA………...…."source folder"
├─ 01_DOGS
│ ├─ _newdata_dogs…….one of 95 "target folders"
│ ├─ dogype1
│ ├─ dogtype2
│ └─ dogype3
├─ 02_CATS
│ ├─ _newdata_cats……...one of 95 "target folders"
│ ├─ catttype1
│ ├─ cattype2
│ └─ cattype3
├─ 03_HORSES…………...etc etc as above 95 times
├─ 04_...
└─ 95_SQUIRRELS


SO FAR
i simply made 95 rules for the source folder "_NEWDATA"
95 x "move these specific files into this specific target folder"
worked perfectly fine.

BUT NOW
i have to both rename+move the folder "ANIMALS" to a new location,
that means all 95 rules are broken

QUESTION
every time the folder "ANIMALS" is renamed or moved
the 95 rules have to be manually corrected?
i hope there is a smarter way (:
thank you very much for feedback!

Re: avoid broken rules when renaming/moving folders

PostPosted: Thu May 28, 2026 9:41 am
by Mr_Noodle
You can use the Replace folder function for this. That said, you may want to look into consolidating your 95 rules. You can probably use patterns to some degree to eliminate most of them.

Re: avoid broken rules when renaming/moving folders

PostPosted: Fri May 29, 2026 5:24 pm
by aumano
"You can use the Replace folder function for this."
thank you very much! worked like a charm!

"use patterns to some degree to eliminate most of them."
all the 95 terms are unique.
the only pattern is between "the file names" and "the targetfolfer names"...

sorry for my english!
for my example i should have picked a name for the source folder
that is totally different to the name of the target folders.

anyway, i would need a sophisticated rule the likes of:
move every file from the source folder "_NEWDATA"
IF the file has the same word in it
as one of the subfolders named *newdata_*


therefore > "germandog32.jpg" to "newdata_dogs";
"persian-catandkitten.png" to "newdata_cats"
etc

hehehe, this would be soooooo luxurious :-)
i hope you understand what i mean, thank you for further feedback!