Author Topic: truncating variable generated serial number in file name  (Read 1898 times)

Offline myotis

  • Full Member
  • ***
  • Posts: 188
    • View Profile
truncating variable generated serial number in file name
« on: February 15, 2017, 03:50:18 AM »
I have been using the "serial" variable in file names on ingestion, which I find useful, but it also makes some file names stupidly long, depending on camera make.

Is there some way of only including the the last three digits of the camera serial number in the file name.

Thanks,

Graham

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24782
    • View Profile
    • Camera Bits, Inc.

Offline myotis

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Re: truncating variable generated serial number in file name
« Reply #2 on: February 15, 2017, 07:11:48 AM »
Sure: http://wiki.camerabits.com/en/index.php?title=User_Manual_Flat_View#Variable_Substring_Extraction

{serial:-3}


Thanks Kirk, I did look at the manual, but not clever enough to know what I needed to be looking for.

Cheers,

Graham