Exporting IPTC tags to digikam tags (script)?

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

Exporting IPTC tags to digikam tags (script)?

Richard Müller
Hi everyone, I'm using DK 5.5. In former times I used iMatch and have
(hierarchical) keywords stored as IPTC data. In DK these keywords
appear as "supplemental categories" in the IPTC metadata in the
following form:

IPTC.Keywords.geografie.deutschland.nrw.westfalen.affeln
IPTC.Keywords.geografie.deutschland.nrw.westfalen.sauerland
IPTC.Keywords.personen.familie.birte
IPTC.Keywords.personen.familie.brigitte

Now I want to use these keywords as DK tags in the following form:

geografie/deutschland/nrw/westfalen/affeln
geografie/deutschland/nrw/westfalen/sauerland
personen/familie/birte
personen/familie/brigitte

Since there are a lot of photos which follow the described scheme I'd
like to use a script, but I have no idea how to approach this. Any
ideas?

Thanks a lot,
-richard

--
--
Richard Müller . Am Spring 9 . D-58802 Balve
http://www.oeko-sorpe.de - http://www.phytoplankton.info -
http://independent.academia.edu/Richard
Reply | Threaded
Open this post in threaded view
|

Re: Exporting IPTC tags to digikam tags (script)?

AndriusWild
What tool are you using to get IPTC.Keywords.geografie.deutschland.nrw.westfalen.affeln ?
I would start with reading metadata from a sample file with exiftool e.g. exiftool -a -G1 -s "/PATH/TO/FILE"

Best regards,

On Mon, May 29, 2017 at 9:16 AM, Richard Müller <[hidden email]> wrote:
Hi everyone, I'm using DK 5.5. In former times I used iMatch and have
(hierarchical) keywords stored as IPTC data. In DK these keywords
appear as "supplemental categories" in the IPTC metadata in the
following form:

IPTC.Keywords.geografie.deutschland.nrw.westfalen.affeln
IPTC.Keywords.geografie.deutschland.nrw.westfalen.sauerland
IPTC.Keywords.personen.familie.birte
IPTC.Keywords.personen.familie.brigitte

Now I want to use these keywords as DK tags in the following form:

geografie/deutschland/nrw/westfalen/affeln
geografie/deutschland/nrw/westfalen/sauerland
personen/familie/birte
personen/familie/brigitte

Since there are a lot of photos which follow the described scheme I'd
like to use a script, but I have no idea how to approach this. Any
ideas?

Thanks a lot,
-richard

--
--
Richard Müller . Am Spring 9 . D-58802 Balve
http://www.oeko-sorpe.de - http://www.phytoplankton.info -
http://independent.academia.edu/Richard