dbump
27th of July 2008 (Sun), 18:28
Something odd happened to my camera during a shoot, and the imaging sequence reset to 0001. I was able to reset the camera to the correct sequence using a post in the EOS forum, but I had over a hundred photos with file names that were out of sequence.
Fortunately, Lightroom rocks. Not only does it have a batch rename, but it allows sequences, with a defined starting number, and even better, you can edit the template and create your own. Here are the steps I took to reset files numbered IMG_0001 - IMG_0145 to the "correct" sequence of IMG_2255 - IMG_2399:
In the Library module, shift-select the affected images.
From the Library menu, choose Rename Photos (or press F2)
Click the File Naming drop-down, and choose Edit...
In the Preset drop down, choose "Custom Name - Sequence" as a starting point
The text in the large window will be: {Custom Text}-{Sequence # (1)}
Replace the "-" with a "_"
Delete {Sequence # (1)}
With the cursor still after the _, choose Sequence # (001) from the Sequence and Date section. That will insert that variable in the field
The Example should now display "x_0001.CR2"
From the preset drop-down, choose "Save Current Settings as New Preset" and specify a name that you will remember (in case this happens again). I chose the name "ResetImageSequence"
Click Done to return to the Rename Photos window.
For Custom Text, type "IMG" (without the quotes), and for Start Number, type the next number in your desired sequence. In my case, my photos went from 2254 to 0001, so I typed "2255" in. The Example should now show "IMG_2255"
Click OK, and Lightroom will start renaming the images (and the physical files, as well as sidecars).
I love Lightroom!
If you make a mistake, no problem, you can just run rename again. Most likely, you will need to run it twice, since the first time, it will detect other files that already exist with the new name, so will append a "-2" to each file name. The second time, it will rename correctly, since there will no longer be any conflicts of unique names.
Fortunately, Lightroom rocks. Not only does it have a batch rename, but it allows sequences, with a defined starting number, and even better, you can edit the template and create your own. Here are the steps I took to reset files numbered IMG_0001 - IMG_0145 to the "correct" sequence of IMG_2255 - IMG_2399:
In the Library module, shift-select the affected images.
From the Library menu, choose Rename Photos (or press F2)
Click the File Naming drop-down, and choose Edit...
In the Preset drop down, choose "Custom Name - Sequence" as a starting point
The text in the large window will be: {Custom Text}-{Sequence # (1)}
Replace the "-" with a "_"
Delete {Sequence # (1)}
With the cursor still after the _, choose Sequence # (001) from the Sequence and Date section. That will insert that variable in the field
The Example should now display "x_0001.CR2"
From the preset drop-down, choose "Save Current Settings as New Preset" and specify a name that you will remember (in case this happens again). I chose the name "ResetImageSequence"
Click Done to return to the Rename Photos window.
For Custom Text, type "IMG" (without the quotes), and for Start Number, type the next number in your desired sequence. In my case, my photos went from 2254 to 0001, so I typed "2255" in. The Example should now show "IMG_2255"
Click OK, and Lightroom will start renaming the images (and the physical files, as well as sidecars).
I love Lightroom!
If you make a mistake, no problem, you can just run rename again. Most likely, you will need to run it twice, since the first time, it will detect other files that already exist with the new name, so will append a "-2" to each file name. The second time, it will rename correctly, since there will no longer be any conflicts of unique names.