Hi,
How can I rename files? I start with img_1234.cr2, I need/want to rename it to: dogs-vancouver-20150705-1234.cr2 * dogs-vancouver : I type it in * 20150706: exif date created (I have figure it out) * 1234: How do I get the last digits? I do not want the counter and add +1 because I want to keep the original number from the image. * cr2: How do I get the extension? This tells me the general topic, the location, the date of the photo and the sequence. I do not want to use the counter +1 because before doing the renaming, I do a lot of deleting for bad focus, bad composition... so the numbers are not consecutive. Then I can do it in bulk by selecting all the photos for that topic... In Lightroom I use: {Custom Text}-{Date (YYYYMMDD)>>}-{Original number suffix>>} -- sknahT vyS _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Am 07.07.2015 um 21:24 schrieb [hidden email]:
> > How can I rename files? The best idea is to use your operation system tools, as digikam also uses them. > > I start with img_1234.cr2, I need/want to rename it to: > dogs-vancouver-20150705-1234.cr2 Years ago, I realised that any type of numbering is a basis for chaos with my collection. Therefore I prefer a directory structure which represents certain types of photos. It could be in your case: pics/vancouver/animals/dogs. For the photos themselves: Using a tool: Before I do anything with the photos I have them batch-renamed using the EXIF-information for YYYYMMDD_HHMMSS (24 hour clock) in the photos plus additional information. For example: Your photo, taken today, could change from dogs_vancouver_123.cr2 to 20150708_132835x_collie.cr2 The "x" is used in case the camera can takes more than one picture in a second (with bracketing for example). This numbering allows for a natural sorting order and you can use pictures from different cameras on the same shooting location with clearly unique numbers, unless you shoot with both cameras a the same time;-). cu Peter _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Wed, 08 Jul 2015 11:53:25 +0200
Peter Mc Donough <[hidden email]> wrote: > For the photos themselves: > > Using a tool: Before I do anything with the photos I have them > batch-renamed using the EXIF-information for YYYYMMDD_HHMMSS (24 > hour clock) in the photos plus additional information. > > For example: Your photo, taken today, could change from > dogs_vancouver_123.cr2 to > 20150708_132835x_collie.cr2 > Basically my question is : Is it possible to do substring operations on file renames? I need the last 4 characters of the filename. -- sknahT vyS _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
A bit off topic, but I'm curious as to what the advantage there is in
renaming image files? All that information is already in the metadata which can include descriptions, tags, hierarchical keywords, location, people, animals, etc, etc. The images can be organized and sorted using the metadata and ignoring the filenames. On Wed, Jul 8, 2015 at 10:08 AM, <[hidden email]> wrote: > > Is it possible to do substring operations on file renames? I need the > last 4 characters of the filename. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Wed, 8 Jul 2015 10:42:19 -0500
Alan Pater <[hidden email]> wrote: > A bit off topic, but I'm curious as to what the advantage there is > in renaming image files? All that information is already in the > metadata which can include descriptions, tags, hierarchical > keywords, location, people, animals, etc, etc. The images can be > organized and sorted using the metadata and ignoring the filenames. Yes and no. 1. Software come and go. I was using Bibble for a couple of years when they got purchased by Corel and everything went downhill from there. I have used Lightroom for 5 years but I do not want the new CC where I have to rent the software by the month, just to be able to print with a "proper crop". I can't even just rent LR by itself, I also have to get Photoshop. What if I want to stop using it? 2. This naming scheme makes it easy to do the weekly backup and restore the images. Over the years, I have crashed/replace/upgrade drives 4 times. I do not need to restore everything at once. Only what I "really" need. Then I did the "rest of the restore" over the weekend when I had plenty of time. I can do (and have done) a bare metal recovery (that's from a blank hard drive) in less than 3 hours and be back "live". 3. This naming scheme makes it easy to understand what we are talking about. Not just by me but my family. They don't how IPTC from XMP from EXIF... -- sknahT vyS _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by digikam-2
Am 08.07.2015 um 17:08 schrieb [hidden email]:
> On Wed, 08 Jul 2015 11:53:25 +0200 > Peter Mc Donough <[hidden email]> wrote: > >> For the photos themselves: >> >> Using a tool: Before I do anything with the photos I have them >> batch-renamed using the EXIF-information for YYYYMMDD_HHMMSS (24 >> hour clock) in the photos plus additional information. >> >> For example: Your photo, taken today, could change from >> dogs_vancouver_123.cr2 to >> 20150708_132835x_collie.cr2 >> > > Basically my question is : > > Is it possible to do substring operations on file renames? I need the > last 4 characters of the filename. > I think it comes to renaming files. There should be a number of tools which do exactly that. I use krename under Linux. It should be possible with digikam but I never tried it. cu Peter _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Alan Pater
Am 08.07.2015 um 17:42 schrieb Alan Pater:
> A bit off topic, but I'm curious as to what the advantage there is in > renaming image files? All that information is already in the metadata > which can include descriptions, tags, hierarchical keywords, location, > people, animals, etc, etc. The images can be organized and sorted > using the metadata and ignoring the filenames. > You will know which box the file belongs to without opening it. If you have thousands of pictures one with the file name 20150708_231415x_boston.jpg gives you a much better idea about that picture than img_2345.jpg And, as I wrote, when working with several cameras, a mixup is less likely. cu Peter _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by digikam-2
There is an advanced renaming tool in Digikam batch tool manager. When I need to rename pictures outside Digikam, I use Krename.2015-07-08 17:08 GMT+02:00 <[hidden email]>: On Wed, 08 Jul 2015 11:53:25 +0200 -- et aussi sur Facebook : _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Wed, 8 Jul 2015 18:59:44 +0200
Marie-Noëlle Augendre <[hidden email]> wrote: > There is an advanced renaming tool in Digikam batch tool manager. Yes but how can I extract a substring of a filename in batch tool manager? I want/need the last 4 characters of the filename -- sknahT vyS _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I'm pretty sure that pyRenamer will allow you to do that. It's
standalone, not part of DK Mick On 09/07/15 14:51, [hidden email] wrote: > On Wed, 8 Jul 2015 18:59:44 +0200 > Marie-Noëlle Augendre <[hidden email]> wrote: > >> There is an advanced renaming tool in Digikam batch tool manager. > Yes but how can I extract a substring of a filename in batch tool > manager? I want/need the last 4 characters of the filename > _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by digikam-2
On Thursday 09 July 2015 06:51:08 [hidden email] wrote:
> On Wed, 8 Jul 2015 18:59:44 +0200 > Marie-Noëlle Augendre <[hidden email]> wrote: > > > There is an advanced renaming tool in Digikam batch tool manager. > > Yes but how can I extract a substring of a filename in batch tool > manager? I want/need the last 4 characters of the filename > If you look closely at the rename dialog in the album view (with several files selected!) you see a button with a blue circle icon with an 'i' in its center. That button gives you an overview of what the rename dialog can do (hint: Options [file] Modifiers {range:from,to}) You'll find the same options in the Batch Queue Manager as part of the "Queue Settings" pane Remco _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by digikam-2
There are plenty of options : For example, one of the rule I use for pictures I publish on line is the following:
[date:"yyMMdd"]-[file]{replace:"IMG_","",i} And KRename can do almost anything too, but I only use for pictures that are not mine (thus not managed in Digikam DB). Marie-Noëlle 2015-07-09 15:51 GMT+02:00 <[hidden email]>: On Wed, 8 Jul 2015 18:59:44 +0200 -- et aussi sur Facebook : _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |