This article originally appeared in Scribbles and Snaps and is reproduced with the kind permission of Dmitri Popov.
Giving your photos meaningful names makes it significantly easier to keep tabs on them. Of course, renaming each and every photo by hand is not particularly practical, especially if you take dozens or even hundreds of photos each day. This is when digiKam’sfeature can come in rather handy. You can use it to define rather advanced renaming rules and apply them to multiple photos in one fell swoop.
Next, you have to specify a date/time format by selecting the appropriate item from the drop-down list. If none of the available formatting options satisfy you, select the item, which lets you construct the formatting string manually. For example, the
To put the tool to practical use, select the photos you want to rename and press the button in the main toolbar (you can also choose -> or press F2). The dialog window offers a vast range of renaming options which allow you to create complex renaming rules. But you might want to start with a simple rule that renames photos using the date and time data. To do this, press the button and select from the drop-down list. This will pull the date and time info from the photo’s metadata.
yyyyMMdd-hhmmssformatting string produces file names like
MMM-dd-yyyy-ddddstring generates names like
The clever part is that you can immediately see the result of the renaming string right below thefield. For a full list of available formatting options, check the official Qt documentation.
Besides date and time, thedialog window offers a few other useful options. The button, for example, allows you to add the camera model to the file name. This can be useful if you are using several cameras and you want to quickly identify photos taken with a specific camera. The button gives you access to EXIF and other photo metadata you can use in renaming rules.
Next to the field where you enter the renaming rule, there is a button that lets you specify so-called modifiers or actions that will be applied to the file names during the renaming operation. For example, using the modifiers, you can convert all file names to lower or uppercase, or capitalize the first letter. Here is a quick overview of other useful modifiers:
While digiKam offers a wide range of other features that can help you to keep tabs on your photos, it’s worth experimenting with thetool. This way, you can quickly locate or identify specific photos even when digiKam is not running.