Photo Mechanic > Code Replacements
How to remove characters from beginning or end of a filename
(1/1)
rcohn:
I believe I did this some years ago, but I don't remember how I set the "Rename Photos" dialog box. I can't find the answer with a search, here or in the manual, so I'm hoping someone here will be able to help me. Find & Replace won't work in this instance.
Thanks!
Kirk Baker:
--- Quote from: rcohn on July 14, 2019, 01:29:35 PM ---I believe I did this some years ago, but I don't remember how I set the "Rename Photos" dialog box. I can't find the answer with a search, here or in the manual, so I'm hoping someone here will be able to help me. Find & Replace won't work in this instance.
--- End quote ---
You'd use variable substring extraction. You can read about it here:
http://wiki.camerabits.com/en/index.php?title=User_Manual_Flat_View#Variable_Substring_Extraction
If you'll give me some specific examples, I will be happy to supply solutions.
-Kirk
rcohn:
Kirk, thanks so much for your quick reply! That jogged my memory. I just needed to remove the last character from a folder of images. "Variable substring extraction" was exactly what I needed, but I didn't know the right terms to search for.
{filenamebase:0,-1} did the trick.
Ric
Navigation
[0] Message Index
Go to full version