Need one blade knife to rename root folders in a directory

Advanced Renamer forum
#1 : 13/09-22 05:29
jon
jon
Posts: 5
A one blade knife is a simple tool (or one that can be used simply) that is easy to come up to speed on. One picks it up and cuts.

I need to rename folders, hundreds of them all in a particular root directory that never changes path. Never rename any content of the folders, no recursion, never touch a file.

The renaming task is to test each folder name for the presence of a 3 letter word at the beginning of the folder name and if it is found delete it leaving no leading spaces behind. The remainder of the folder name must be untouched. If the 3 letter word is not found the folder name is untouched and the program moves on to the next folder.


New folders will be added to the root directory over time and the program run over the whole thing again to test and modify the new additions as needed.

manually adding that many folders to anything is cumbersome. This recommends a command line tool (if only I knew how to write one). So haveing the path to the root directory saved and working with that is desirable.

My question is: is this an appropriate tool?

Apprciate any advice.

jon


13/09-22 05:29
#2 : 13/09-22 09:18
jon
jon
Posts: 5
Reply to #1:
Looks like it won't work. Everything is oriented to files, not folders. I will need a collision rule that will merge the contents of a renamed folder into a folder with the same name. The program does not seem to offer this.

oh well.


13/09-22 09:18
#3 : 25/09-22 14:38
David Lee
David Lee
Posts: 1125
Reply to #2:
Just rename the folders using Command Line Automation

RTFM! https://www.advancedrenamer.com/user_guide/comma ndline


25/09-22 14:38 - edited 25/09-22 14:39