Page 1 of 1

Help with automating a search / rename.

PostPosted: Fri Sep 20, 2024 11:07 pm
by jwilcock
I have a search I regularly run in the GUI that I'd like to automate (schedule) with the command line. I'm currently using both regex and javascript to filter out files before I match, and maybe there's a different way to do this in the command line?
I'm Looking for any help, here is what I would like to accomplish:

1) this should run recursively on one specific folder.
2) I need to remove all extra spaces from filenames so there's just a single space instead of 2, or 3, or 4 together... etc.
3) I need to exclude files if the path leading to them, or the filename itself contains "MATCH" or "SKIP" (regardless of uppercase, lowercase, etc.).

Any ideas?

Re: Help with automating a search / rename.

PostPosted: Mon Sep 23, 2024 3:58 pm
by therube
1) /DIR:mydirname /RECURSIVE
2) /TIDYDS

3) not sure how to exclude ?

So...

BRC32.EXE /DIR:mydirhname /RECURSIVE /TIDYDS


But... then there is 3)... ?