Author Topic: file rename question  (Read 2777 times)

Offline doorman

  • Newcomer
  • *
  • Posts: 5
    • View Profile
file rename question
« on: November 03, 2009, 05:24:45 AM »
i have 355 photos with duplicate filenames within the name itself.  (a batch process within photoshop)

for example.

DTWCLawrenceburg20090002DTWCLawrenceburg20090002.jpg   

the last four digits is the ingest sequence number.  the 355 photos have been pulled from about 2k images so the next photo after 0002 would be 0011.

i would like to rename them correctly and keep the last four digits of each file.

any ideas.

thanks,
joey

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: file rename question
« Reply #1 on: November 03, 2009, 06:15:27 AM »
Joey,

i have 355 photos with duplicate filenames within the name itself.  (a batch process within photoshop)

for example.

DTWCLawrenceburg20090002DTWCLawrenceburg20090002.jpg   

the last four digits is the ingest sequence number.  the 355 photos have been pulled from about 2k images so the next photo after 0002 would be 0011.

i would like to rename them correctly and keep the last four digits of each file.

I'm not certain that I have enough information to answer your question.  Given the above example, what would you want your filename to end up as?  Please also give a second example as well.

-Kirk

Offline doorman

  • Newcomer
  • *
  • Posts: 5
    • View Profile
Re: file rename question
« Reply #2 on: November 03, 2009, 02:59:38 PM »
giving the file name above.   i would like to have it DTWCLawrenceburg20090002.jpg    the last four digits is the ingest sequence of about 2k pics ingested and i pulled 355 and processed them.  i would like to have all the photos to be "DTWCLawrenceburg2009"  i need to keep the last four digits of every file that has to be renamed.  i hope this helps with my situation.

thanks,
joey

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24767
    • View Profile
    • Camera Bits, Inc.
Re: file rename question
« Reply #3 on: November 03, 2009, 03:18:05 PM »
Joey,

giving the file name above.   i would like to have it DTWCLawrenceburg20090002.jpg    the last four digits is the ingest sequence of about 2k pics ingested and i pulled 355 and processed them.  i would like to have all the photos to be "DTWCLawrenceburg2009"  i need to keep the last four digits of every file that has to be renamed.  i hope this helps with my situation.

As long as all of the photos start with "DTWCLawrenceburg2009" then this will do what you're looking for:

DTWCLawrenceburg2009{filenamebase:-4}

Just use the above as your Renaming string.

HTH,

-kirk

Offline doorman

  • Newcomer
  • *
  • Posts: 5
    • View Profile
Re: file rename question
« Reply #4 on: November 03, 2009, 03:28:04 PM »
thanks so much.  this is what i was looking for.

many thanks,
joey