Author Topic: file rename question  (Read 1521 times)

Offline doorman

  • Newcomer
  • *
  • Posts: 5
    • View Profile
file rename question
« on: April 08, 2013, 02:08:39 PM »
I let this go to far without noticing.

I need to remove "copy" from the filename

LoneStarSpeedway20130093 copy.jpg

I want to keep everything except for copy at the end.

Help
Joey

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24763
    • View Profile
    • Camera Bits, Inc.
Re: file rename question
« Reply #1 on: April 08, 2013, 02:31:10 PM »
Joey,

I let this go to far without noticing.

I need to remove "copy" from the filename

LoneStarSpeedway20130093 copy.jpg

I want to keep everything except for copy at the end.

Use this as your renaming string:

{filenamebase:0,-5}

See this for more info on variables substring extraction: http://wiki.camerabits.com/en/index.php?title=User_Manual_Flat_View#Variable_Substring_Extraction

-Kirk

Offline doorman

  • Newcomer
  • *
  • Posts: 5
    • View Profile
Re: file rename question
« Reply #2 on: April 08, 2013, 02:38:31 PM »
super cool   8)

i bookmarked the url.  what a time saver.  woohoo ;D