I found a small but annoying bug in the renaming algorithm that occurs whenever Cam2PC transfers RAW images that keep buddy files.
In my case I am talking about Canon CRW + Canon THM files, but I strongly suspect it occurs with all files where the RAW file has the same file name as the buddy file and both only differ by their extension.
I use the following rename string :
- Code: Select all
%Y.%m.%d %{substr:4:4}.%{ext}
while the CRWs get the correct names (e.g. "2005.01.05 6543.crw") all buddying THM files are given incorrect names (e.g. 2005.01 (01).thm + 2005.01 (02).thm etc.)
The option to avoid duplicates is checked.
The bug is in the code that compares filenames+extensions. My preferred date format includes dots (instead of the hyphens that natives english-speakers seem to prefer) and that confuses the code, which seems to split the exnsion starting in the filename from the left and not from the right.
My current workaround is this rename string :
- Code: Select all
%Y-%m-%d %{substr:4:4}.%{ext}
Using that string leaves no dots in the filename portion and the code that splits the extension doesn't get confused. However I need a second batch renamer tool to change all the hypens into dots again (I have 17.000 images named using dots in the dates and I'm not chaging now :wink: )
It's a few lines of code to fix, so I'm looking out for a new version.
Thanks for a great piece of software - just the "auto-rename while you download" beats everything else I've seen (You can put that quote in the user comments page)
Thanks for listening
Fred