I suppose I should have seen this coming... Today I rolled over 10,000 shots on my 20D, only to find the file names restarting at img_0000 all over again. So not only do they sort in the wrong order in directories, but worse, there are now duplicate names to contend with.
Did I miss some trick setting for longer file names?
If you're in windows, and can use the command line prompt, then
ren [drive][path]img_*.* 1img_*.*
will shove a preceeding 1 in front of your image files in the [drive][path] directory. They will then sort before your current img files. When it happens again, repeat the rename with a 2.
raymw wrote:
If you're in windows, and can use the command line prompt, then
ren [drive][path]img_*.* 1img_*.*
will shove a preceeding 1 in front of your image files in the [drive][path] directory. They will then sort before your current img files. When it happens again, repeat the rename with a 2.
hth.
Ray
Good idea Ray! I was thinking along similar lines with renaming 'img_*.*' to 'img_1*.*', but that wouldn't work right unless you did a rename of all previous images from 'img_*.*' to 'img_0*.*' first.
I use a year/date folder scheme with a few sub directories in each day.
for instance:
2005/2005_12_25/1_orig
2005/2005_12_25/2_dng
2005/2005_12_25/3_work
2005/2005_12_25/4_small_jpg
2005/2005_12_25/5_print
It helps me keep track of what state the files are in.
For file names I simply use the numbers (once I rolled over 9999 I started appending a 1 to the front of the name.
For instance when I move the files from the card to my photo directory they have names like img_0935.jpg and I use mrename to to rename all the files in the directory to (for exmaple) 10935.jpg and so on.
I am thinking about getting a 5D and keeping my 20D so I am going to have to add a prefix to the file name indicating the camera that the image came from.
I use a program called Rename Master. It's fast and simple. Just download the files to a clean directory, then rename them. It has a ton of different ways to replace, delete and add, just add, whatever you want to do, with a preview to boot. Best of all, it's free! You can find it here:
raymw wrote:
If you're in windows, and can use the command line prompt, then
ren [drive][path]img_*.* 1img_*.*
will shove a preceeding 1 in front of your image files in the [drive][path] directory. They will then sort before your current img files. When it happens again, repeat the rename with a 2.
hth.
Ray
Question for you Ray, when I do this, Windows seems to want to force an 8-character file name. So since the names are already 8, adding a "1" to the front is making it drop other charaters off the name. At the moment, I did a "ren _mg_*.* mg_1*.*" to maintain 8 chars, but do you know of some switch to allow DOS to recognize more than 8?
I'm running windoze 2000. Iit will accept file names up to 215 characters. I thought there may be a setting to define the file naming conventions, but there doesn't seem to be. They added in a load of vb scripting to the 'dos box', so probably long names added at same time. It works fine for me. (version 5.00.2195 if thats a help.) In win 2000 go to programs, accessories, command prompt (they also call it console window - I call it dos box)
You could try using double quotes but that would screw the wild cards, I guess. .
iirc 95/98 used the 8.3 dos file name convention in the dos box, unless you used " ". XP I don't use much. There may be a setting in the properties for command prompt, or whatever xp call it.