Rename files by adding part of folder name

Bulk Rename Utility How-To's

Rename files by adding part of folder name

Postby MrMix » Thu Jul 10, 2025 4:34 pm

Hello everyone,

I have hundred of folders and thousand of files to be renamed, here below a simple example of the actual structure of folders and files

John
¦_____ John - 2000 - NewYork Winter
¦ ¦______________ 01 Mainstr.jpg
¦ ¦______________ 02 PlazaHotel.jpg
¦
¦_____ John - 2001 - Boston April
¦ ¦______________ 01 ParkAve.jpg
¦ ¦______________ 02 SpargoPizza.jpg
¦
¦_____ John - 2002 - Miami Late Summer
¦
Part 1
¦______________ 01. SouthBeach.jpg
¦______________ 02. lobby.jpg
¦______________ 03. roofview.jpg
¦
Part 2
¦______________ 01. NorthBeach.jpg
¦______________ 02. restaurant.jpg
¦______________ 03. BeachByNight.jpg

and so on

Here below how it should be after the bulk rename of the files:

John
¦_____ John - 2000 - NewYork Winter
¦ ¦______________ 01. NewYork Winter - Mainstr.jpg
¦ ¦______________ 02. NewYork Winter - PlazaHotel.jpg
¦
¦_____ John - 2001 - Boston April
¦ ¦______________ 01. Boston April - ParkAve.jpg
¦ ¦______________ 02. Boston April - SpargoPizza.jpg
¦
¦_____ John - 2002 - Miami Late Summer
¦
Part 1
¦______________ 01. Miami Late Summer - SouthBeach.jpg
¦______________ 02. Miami Late Summer - lobby.jpg
¦______________ 03. Miami Late Summer - roofview.jpg
¦
Part 2
¦______________ 01. Miami Late Summer - NorthBeach.jpg
¦______________ 02. Miami Late Summer - restaurant.jpg
¦______________ 03. Miami Late Summer - BeachByNight.jpg

I'd like to add the last part of the folder name to any files into that folder and sub folders

Thank you in advance for your help
MM
MrMix
 
Posts: 3
Joined: Thu Mar 09, 2023 5:55 pm

Return to How-To


cron