Renaming photos with parent folder name plus index

A swapping-ground for Regular Expression syntax

Renaming photos with parent folder name plus index

Postby cynricng » Sat Oct 12, 2019 10:50 am

Hi

I have a situation where I have a huge list of folders named with the SKU of certain products(the SKU are sometimes shorter than others), and inside the folders are photos, around 1-4 photos in each folder.
The names of the photos are very random, so I would like to name the photos as *name of parent folder* + "_" + *index* , but still keep the same extension.

I'm very new to this tool, and I couldn't figure out what to search for.
cynricng
 
Posts: 2
Joined: Sat Oct 12, 2019 10:43 am

Re: Renaming photos with parent folder name plus index

Postby therube » Sat Oct 12, 2019 1:00 pm

2:Name -> Remove

9:Append Folder Name, Name -> Prefix

10:Numbering -> Suffix & also checkmark, Folder
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Renaming photos with parent folder name plus index

Postby cynricng » Tue Oct 15, 2019 8:22 am

Thank you so much !
cynricng
 
Posts: 2
Joined: Sat Oct 12, 2019 10:43 am


Return to Regular Expressions