- Thread Author
- #1
Hello and Happy New Year.
I’d like some advice and suggestions on how to perform a specific task involving batch renaming a large group of folders.
I want to rename over 5,000 folders a certain way. I don’t have to rename them all at once. They are all in one central folder, at least for now.
(That folder is C:\MUSIC2025.)
I want to replace the first hyphen in each folder’s name with an equals sign (=).
However, I do not want any other hyphens in the folder’s name replaced at all.
Please take a look at the example below.
38 Special - Strength In Numbers
38 Special - The Very Best Of The A&M Years (1977-1988)
38 Special - Tour De Force
38 Special - Wild-Eyed Southern Boys
1910 Fruitgum Company - 1968-1970
ABBA - Complete Studio Recordings
ACDC - Back in Black
38 Special = Strength In Numbers
38 Special = Very Best Of The A&M Years (1977-1988)
38 Special = Tour De Force
38 Special = Wild-Eyed Southern Boys
1910 Fruitgum Company = 1968-1970
ABBA = Complete Studio Recordings
ACDC = Back in Black
I’m not really an experienced programmer, so I might need a lot of hand holding with this.
I’m assuming either a batch file or a Python program would be the most practical way of doing this, but if there’s an easier way, I’m obviously receptive.
I’m sincerely grateful for any assistance you can provide. Thank you very much.
Jd
I’d like some advice and suggestions on how to perform a specific task involving batch renaming a large group of folders.
I want to rename over 5,000 folders a certain way. I don’t have to rename them all at once. They are all in one central folder, at least for now.
(That folder is C:\MUSIC2025.)
I want to replace the first hyphen in each folder’s name with an equals sign (=).
However, I do not want any other hyphens in the folder’s name replaced at all.
Please take a look at the example below.
38 Special - Strength In Numbers
38 Special - The Very Best Of The A&M Years (1977-1988)
38 Special - Tour De Force
38 Special - Wild-Eyed Southern Boys
1910 Fruitgum Company - 1968-1970
ABBA - Complete Studio Recordings
ACDC - Back in Black
38 Special = Strength In Numbers
38 Special = Very Best Of The A&M Years (1977-1988)
38 Special = Tour De Force
38 Special = Wild-Eyed Southern Boys
1910 Fruitgum Company = 1968-1970
ABBA = Complete Studio Recordings
ACDC = Back in Black
I’m not really an experienced programmer, so I might need a lot of hand holding with this.
I’m assuming either a batch file or a Python program would be the most practical way of doing this, but if there’s an easier way, I’m obviously receptive.
I’m sincerely grateful for any assistance you can provide. Thank you very much.
Jd