- Joined
- May 9, 2015
- Messages
- 2,042
- Location
- Palo Alto, CA
- Lightroom Experience
- Power User
- Lightroom Version
- Classic
- Lightroom Version
- 10.2
- Operating System
- Windows 10
Hi,
I found myself with a stange problem. In need to decrease the numeric portion of file name in a large number of images by a value of 1. In other words IMG1234.jpg needs to become IMG1233.jpg. As the LR plugin API does not suppoort file name manipulation in plugin's it seems that one can use Jfriedl's "write Data Field" plug in (in bog-o-goodies" collection) to copy the numeric portion of the file name to another field such as Headline. But now I need a tool that can take the value in Headline (e.g. 1234) and subtract 1 from it after which I can use the "Headline" token in LR's file rename template builder to update the actual file name.
What I'm missing is the tool to do that arithmatic on the Headline tool so if someone can point me to such a thing, I'd be grateful. I though Lightroom Solutions' "search & replace" might do it, but I don't see how to do math in that tool (maybe just looking in wrong place).
Thanks -- Dan
I found myself with a stange problem. In need to decrease the numeric portion of file name in a large number of images by a value of 1. In other words IMG1234.jpg needs to become IMG1233.jpg. As the LR plugin API does not suppoort file name manipulation in plugin's it seems that one can use Jfriedl's "write Data Field" plug in (in bog-o-goodies" collection) to copy the numeric portion of the file name to another field such as Headline. But now I need a tool that can take the value in Headline (e.g. 1234) and subtract 1 from it after which I can use the "Headline" token in LR's file rename template builder to update the actual file name.
What I'm missing is the tool to do that arithmatic on the Headline tool so if someone can point me to such a thing, I'd be grateful. I though Lightroom Solutions' "search & replace" might do it, but I don't see how to do math in that tool (maybe just looking in wrong place).
Thanks -- Dan