[digiKam-users] Renaming images in another root/album

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Renaming images in another root/album

digikam-2
DK 7.2.0 appimage.

I need to name/rename images in an other location.

All my photos hang from: /other/photos

My files are img_1234.cr2 and rename my regular images with:

text-[date:"yyyyMMdd"]-[file]{range:5,8} which gives me: text-20210505-1234.cr2.

It works extremely well when my images are in the /other/photos. But...

I have a bunch (a few hundreds) of temporary photos in
"/home/myself/temp/photos", that I want to rename using DK. Is there
a way of doing it without polluting my database? or some other
software that gives access to the metadata?

Thanks

The photos in "/home/myself/temp/photos" are temporary and will never
be in my "repository"

--
sknahT

vyS
Reply | Threaded
Open this post in threaded view
|

Re: Renaming images in another root/album

Sebastian Beer
Did you try setting up a new temporary database and import the pictures at the other location into this new database? After processing the images you can go back to your original database and delete the temporary one.

Best regards,

Sebastian Beer

> Am 05.05.2021 um 20:56 schrieb [hidden email]:
>
> DK 7.2.0 appimage.
>
> I need to name/rename images in an other location.
>
> All my photos hang from: /other/photos
>
> My files are img_1234.cr2 and rename my regular images with:
>
> text-[date:"yyyyMMdd"]-[file]{range:5,8} which gives me: text-20210505-1234.cr2.
>
> It works extremely well when my images are in the /other/photos. But...
>
> I have a bunch (a few hundreds) of temporary photos in
> "/home/myself/temp/photos", that I want to rename using DK. Is there
> a way of doing it without polluting my database? or some other
> software that gives access to the metadata?
>
> Thanks
>
> The photos in "/home/myself/temp/photos" are temporary and will never
> be in my "repository"
>
> --
> sknahT
>
> vyS
Reply | Threaded
Open this post in threaded view
|

Re: Renaming images in another root/album

digikam-2
On Wed, 5 May 2021 21:24:57 +0200
Sebastian Beer <[hidden email]> wrote:

> Did you try setting up a new temporary database and import the
> pictures at the other location into this new database? After
> processing the images you can go back to your original database and
> delete the temporary one.

I have not. I think that it would work for me but...

How do I set a temporary database?

--
sknahT

vyS
Reply | Threaded
Open this post in threaded view
|

Re: Renaming images in another root/album

Philip Tuckey-2
In reply to this post by digikam-2
Exiftool (exiftool.org) is a general purpose and very flexible
command-line tool for doing this kind of thing. The difficulty is
figuring out the right options and syntax, if one is not familiar with
it or forgets every time. A lot of documentation and examples are
available online.

On 05/05/2021 20:54, [hidden email] wrote:

> DK 7.2.0 appimage.
>
> I need to name/rename images in an other location.
>
> All my photos hang from: /other/photos
>
> My files are img_1234.cr2 and rename my regular images with:
>
> text-[date:"yyyyMMdd"]-[file]{range:5,8} which gives me: text-20210505-1234.cr2.
>
> It works extremely well when my images are in the /other/photos. But...
>
> I have a bunch (a few hundreds) of temporary photos in
> "/home/myself/temp/photos", that I want to rename using DK. Is there
> a way of doing it without polluting my database? or some other
> software that gives access to the metadata?
>
> Thanks
>
> The photos in "/home/myself/temp/photos" are temporary and will never
> be in my "repository"
>
Reply | Threaded
Open this post in threaded view
|

Re: Renaming images in another root/album

Dougie Nisbet
This was my first thought too but I got the impression that the OP had
their mind set on renaming using DK itself.

One of the main reasons I moved from Shotwell to DK is that DK is so
robust in allowing external renaming of files. I have a shell script
that extracts tags and timestamps and creates filenames based on that.
It's so useful and versatile to be able to search for a key piece of
information in a filename. Works across platforms.  Then whenever I
restart DK it automatically detects the filename changes and updates
itself. It's a real dealbreaker for me.

Dougie

On 10/05/2021 16:17, Phil wrote:

> Exiftool (exiftool.org) is a general purpose and very flexible
> command-line tool for doing this kind of thing. The difficulty is
> figuring out the right options and syntax, if one is not familiar with
> it or forgets every time. A lot of documentation and examples are
> available online.
>
> On 05/05/2021 20:54, [hidden email] wrote:
>> DK 7.2.0 appimage.
>>
>> I need to name/rename images in an other location.
>>
>> All my photos hang from: /other/photos
>>
>> My files are img_1234.cr2 and rename my regular images with:
>>
>> text-[date:"yyyyMMdd"]-[file]{range:5,8} which gives me:
>> text-20210505-1234.cr2.
>>
>> It works extremely well when my images are in the /other/photos. But...
>>
>> I have a bunch (a few hundreds) of temporary photos in
>> "/home/myself/temp/photos", that I want to rename using DK. Is there
>> a way of doing it without polluting my database? or some other
>> software that gives access to the metadata?
>>
>> Thanks
>>
>> The photos in "/home/myself/temp/photos" are temporary and will never
>> be in my "repository"
>>