Author Topic: Renaming large number of files  (Read 2643 times)

Offline Frank

  • Full Member
  • ***
  • Posts: 206
    • View Profile
    • Frank Fitzpatrick Photography
Renaming large number of files
« on: October 14, 2021, 02:19:23 AM »
I have just started a trial of PM + and am trying to rename files as follows.

Original File name D8756FFAAA.NEF. There are a large number of files and my previous attempts have not been too successful.

I would like to rename the file, and others as DSC8756 thereby keeping the number.

I am not too good at substring extraction etc so any help would be appreciated.

Thanks, Frank

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Renaming large number of files
« Reply #1 on: October 14, 2021, 06:13:49 AM »
Frank,

I have just started a trial of PM + and am trying to rename files as follows.

Original File name D8756FFAAA.NEF. There are a large number of files and my previous attempts have not been too successful.

I would like to rename the file, and others as DSC8756 thereby keeping the number.

I am not too good at substring extraction etc so any help would be appreciated.

As long as all of the files have the form that you described above (D, followed by four digits, followed by other stuff) then the following should work:

DSC{filenamebase:1,4}

HTH,

-Kirk

Offline Frank

  • Full Member
  • ***
  • Posts: 206
    • View Profile
    • Frank Fitzpatrick Photography
Re: Renaming large number of files
« Reply #2 on: October 14, 2021, 09:00:12 AM »
That works a treat, thank you Kirk.

Have saved it as a snapshot for further use.

Frank