#1 2023-01-31 21:32

ErikT
Member
Registered: 2023-01-31
Posts: 2

Updating File Name From Higher Level Path Info

I have many file paths of the type below:
AAA\BBB\AAA_BBB\001.jpg
AAA\BBB\AAA_BBB\002.jpg
=================
AAA\BBB\AAA_BBB\106.jpg

I would like to rename the files in the lowest level folder to this:
AAA\BBB\AAA_BBB\AAA_BBB-001.jpg
AAA\BBB\AAA_BBB\AAA_BBB-002.jpg
=================
AAA\BBB\AAA_BBB\AAA_BBB-106.jpg

I can't seem to find the "magical incantation" to make this work.  Closest things I could find was using Rearrange create descendant folders but that's not particularly helpful.

UPDATE:
Using the "Insert Meta Tag" button on the Insert Rule and selecting "File_FolderName" inserts the name of the next highest level folder into the target.

Last edited by ErikT (2023-01-31 21:45)

Offline

#2 2023-02-01 08:09

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Updating File Name From Higher Level Path Info

Hi and welcome.

Looks like you have solved that on your own, right?





 


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2023-02-01 12:03

ErikT
Member
Registered: 2023-01-31
Posts: 2

Re: Updating File Name From Higher Level Path Info

I figured it out right after I posted smile   I updated the post so that perhaps it would help someone else in the future.

Offline

#4 2023-02-01 17:29

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Updating File Name From Higher Level Path Info

ErikT wrote:

I figured it out right after I posted smile

Great.


ErikT wrote:

I updated the post so that perhaps it would help someone else in the future.

Thank you for that.




Enjoy ReNaming.




 


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#5 2023-04-20 03:20

adiosdonut
Member
Registered: 2021-11-09
Posts: 6

Re: Updating File Name From Higher Level Path Info

I'm looking for something similar, but rather than insert the name of the lowest level folder, I want to insert the name of the folder one level up:

AAA\BBB\CCC\001.jpg
AAA\DDD\EEE\002.jpg
AAA\FFF\GGG\003.jpg

I would like to rename the files in the lowest level folder to this:
AAA\BBB\CCC\BBB-001.jpg
AAA\DDD\EEE\DDD-002.jpg
AAA\FFF\GGG\FFF-003.jpg

Offline

#6 2023-04-20 10:52

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,393

Re: Updating File Name From Higher Level Path Info

adiosdonut wrote:

I'm looking for something similar, but rather than insert the name of the lowest level folder, I want to insert the name of the folder one level up

See the answer provided in a separate thread: How to add name of folder 2 levels up as prefix?

Offline

Board footer

Powered by FluxBB