Very basic scripts with hard-coded Canon naming conventions… No warranty, etc…
My set up is that I have the JPGs in a directory, and the matching CR2s in a subdirectory called cr2
. When I sort by subjects, the directories to which I move the JPG files are usually siblings of the directory where they have been kept together.
-
subcr2
: the one with which everything starts. Creates acr2
subdirectory and moves all the CR2s to it.
subcr2 (265 Bytes)
-
orphancr2
: marks as “orphans” all the CR2s without a matching JPG (by renaming them), in other words all the CR2s that match a JPG that didn’t survive the culling. The script used to be more ballsy and erase the CR2 right out, but a bug in the script made it erase CR2s I should have kept (they were still on the card, phew). So now the final erase is a manual step.
orphancr2 (321 Bytes)
-
getcr2
: searches the sibling directories for CR2s that match the argument JPGs, and puts them in acr2
subdirectory. I use it after sorting the JPGs to various directories to reconcile them with their matching CR2. Code has been improved to retrieve only CR2s that are about as recent as the JPGs (an early version made a mess after the image counter rolled over).
getcr2 (523 Bytes)