i have created a button that i hoped would find and replace folder names recursively but i can't make it work.
here is what i do have
Rename FINDREP PATTERN="Disc1" TO "Side a" TYPE=dirs
Rename FINDREP PATTERN="Disc2" TO "Side b" TYPE=dirs
with this button i have to highlight each folder individually and then press the button. it works okay if i highlight one folder at a time but if i highlight two then press the button up pops the rename box and i have to click ok.
can you help me with my working button? how do you stop the rename box popping up? when i made a button for deleting my temp files i used the quiet/s option and this suppressed a dialog box, is there something similar for rename?
ideally i want to do everything recursively so that i only need to select one folder and click my button can anybody help me to get the recurse option working?
I don't think Jon meant to be sarcastic , the recurse flag wasn't in the examples above so he suggested it.
Anyway, is it working now with the 31st March version? I think you used to have to use a wildcard pattern (even if you didn't really want/need one) to rename more than one item, which I guess is what has been fixed. (I've not read the change log yet; totally lost in TES4: Oblivion at the moment!)
(Edit: Didn't see mention of this in the 31st March change log, but maybe it was fixed in an interim version, or just isn't listed. Or I'm confused. I do remember it being brought up a while ago, though and hopefully it's fixed now, either way.)
(Edit2: If it isn't fixed, you should be able to make things work by turning the "from" expression into a pattern. e.g. Just stick a * on the end of it, assuming that's safe (i.e. nothing unwanted will match as a result of the *).)
i got a reply from directory opus support, it looks like i'll have to wait for a new version to fix my problem.
The TYPE parameter for the Rename command does not currently operate recursively - it affects only top-level items. When using the RECURSE switch, all items inside sub-folders will be renamed - both files and folders.
[i]I will add a feature request for an improvement to this in a future version.
Regards,
Jonathan Potter
It's more work than a one-click button but for now you could use Flat Mode, then select the folders (or filter away all files and select-all), then click the rename button.
[quote="ethereal"]thanks to everybody who replied.
i got a reply from directory opus support, it looks like i'll have to wait for a new version to fix my problem.
The TYPE parameter for the Rename command does not currently operate recursively - it affects only top-level items. When using the RECURSE switch, all items inside sub-folders will be renamed - both files and folders.
[i]I will add a feature request for an improvement to this in a future version.
Regards,
Jonathan Potter
GP Software[/i][/quote]
Sorry to reanimate this topic but i have exactly the same problem now and it seems the RECURSE flag still doesn't work on sub-FOLDERS ..
Is there a way to make recursive replace on folders and files ?