[digiKam-users] Writing a custom shell script

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

[digiKam-users] Writing a custom shell script

Matthieu
Hi list,

I use digikam only to check that all my tags (geolocalisation, copyright, custom tags) are embedded in my pictures before sharing them on google photos.
Because the title and description defined in digikam are not stored in my JPG and RAW files when writing metadatas, I have to set them both in digikam and copy them in google photos. It's time consuming.

I was wondering if a custom user shell script would be able to help me?
Writing a shell script is not a problem for me but I suppose that there are some conventions, input management, error processing management, and location requirement for these shells scripts.
Is there any rich documentation regarding writing a custom shell script?

I cannot find anything useful both on the Internet and in the documentation.

Kind regards

Mat
Reply | Threaded
Open this post in threaded view
|

Re: Writing a custom shell script

Tobias Margiani
Hi Mat,

As I understand, your problem is that titles and descriptions are not written
into the images but only saved in the digikam database. The following
suggestions should fix that more easily than a custom script:

- In the digikam settings go to the "Behaviour" tab of the "Metadata" section
and enable "Captions and title" under "Write this Information to the
Metadata". This will make sure that when digikam decides to write metadata to
files it will include titles.
- Now, to make sure the data is written into the image files, you should
switch to the "Sidecars" tab and set it so that either no sidecars are written
at all or enable writing to sidecars and images.
- If the metadata is still not written automatically select all images you
changed and click "Write Metadata to Selected Images" in the "Item" menu.

Best,
Tobias

On Montag, 9. April 2018 00:24:25 CEST Matthieu wrote:

> Hi list,
>
> I use digikam only to check that all my tags (geolocalisation, copyright,
> custom tags) are embedded in my pictures before sharing them on google
> photos.
> Because the title and description defined in digikam are not stored in my
> JPG and RAW files when writing metadatas, I have to set them both in
> digikam and copy them in google photos. It's time consuming.
>
> I was wondering if a custom user shell script would be able to help me?
> Writing a shell script is not a problem for me but I suppose that there are
> some conventions, input management, error processing management, and
> location requirement for these shells scripts.
> Is there any rich documentation regarding writing a custom shell script?
>
> I cannot find anything useful both on the Internet and in the documentation.
>
> Kind regards
>
> Mat




Reply | Threaded
Open this post in threaded view
|

Re: Writing a custom shell script

Matthieu
Hi Tobias,

Please accept my apologizes for this late answer.
I didn't know this option, but after checking my configuration, I've already checked this option.
But my pictures are almost all raw (cr2) files. and I know that writing metadata in RAW files is complicated.

Anyway I loose time (on this subject, looking for a way to export in CSV files metadatas, etc). So I was wondering if these custom shell scripts could help me.

But I cannot find any documentation on this subject.

Regards

Mat

2018-04-17 1:07 GMT+12:00 Tobias Margiani <[hidden email]>:
Hi Mat,

As I understand, your problem is that titles and descriptions are not written
into the images but only saved in the digikam database. The following
suggestions should fix that more easily than a custom script:

- In the digikam settings go to the "Behaviour" tab of the "Metadata" section
and enable "Captions and title" under "Write this Information to the
Metadata". This will make sure that when digikam decides to write metadata to
files it will include titles.
- Now, to make sure the data is written into the image files, you should
switch to the "Sidecars" tab and set it so that either no sidecars are written
at all or enable writing to sidecars and images.
- If the metadata is still not written automatically select all images you
changed and click "Write Metadata to Selected Images" in the "Item" menu.

Best,
Tobias

On Montag, 9. April 2018 00:24:25 CEST Matthieu wrote:
> Hi list,
>
> I use digikam only to check that all my tags (geolocalisation, copyright,
> custom tags) are embedded in my pictures before sharing them on google
> photos.
> Because the title and description defined in digikam are not stored in my
> JPG and RAW files when writing metadatas, I have to set them both in
> digikam and copy them in google photos. It's time consuming.
>
> I was wondering if a custom user shell script would be able to help me?
> Writing a shell script is not a problem for me but I suppose that there are
> some conventions, input management, error processing management, and
> location requirement for these shells scripts.
> Is there any rich documentation regarding writing a custom shell script?
>
> I cannot find anything useful both on the Internet and in the documentation.
>
> Kind regards
>
> Mat