[digiKam-users] How to change the copyright of a 2000 images?

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

[digiKam-users] How to change the copyright of a 2000 images?

digikam-2
DK 6.1.0 appimage.

I entered the wrong copyright right on a couple of thousands images.
They are 2 albums. Very easy to identify.

Album > select the album > ctrl-a (select all) > menu: item > edit
metadata but it only does it for 1 image at a time.

Do the change > apply > next:  2,000 times :(

Is there a simpler (less painful) way? Or do I have to grep/sed
through the xmps and replace all the copyright notices.

Thanks

--
sknahT

vyS
Reply | Threaded
Open this post in threaded view
|

Re: How to change the copyright of a 2000 images?

Martin Burnicki-2
[hidden email] wrote:

> DK 6.1.0 appimage.
>
> I entered the wrong copyright right on a couple of thousands images.
> They are 2 albums. Very easy to identify.
>
> Album > select the album > ctrl-a (select all) > menu: item > edit
> metadata but it only does it for 1 image at a time.
>
> Do the change > apply > next:  2,000 times :(
>
> Is there a simpler (less painful) way? Or do I have to grep/sed
> through the xmps and replace all the copyright notices.

Im using exiftool on the command line to do this, e.g.:

  exiftool -Copyright="Martin Burnicki" -author="Martin Burnicki" *.jpg

and if everything went OK (I never had a case where it wasn't OK) then
remove the original files:

  rm *orig*

This is on Linux, and the EXIF data is stored in the original .jpg
files. I haven't tried if this also works on Windows, or with .xmp files.

Martin
Reply | Threaded
Open this post in threaded view
|

Re: How to change the copyright of a 2000 images?

Remco Viëtor
In reply to this post by digikam-2
On vendredi 2 août 2019 03:03:36 CEST [hidden email] wrote:

> DK 6.1.0 appimage.
>
> I entered the wrong copyright right on a couple of thousands images.
> They are 2 albums. Very easy to identify.
>
> Album > select the album > ctrl-a (select all) > menu: item > edit
> metadata but it only does it for 1 image at a time.
>
> Do the change > apply > next:  2,000 times :(
>
> Is there a simpler (less painful) way? Or do I have to grep/sed
> through the xmps and replace all the copyright notices.
>

Have you tried creating and applying a metadata template with the corrected
info? As that works from within Digikam, you might have less chance of getting
the database and image metadata out of sync.

Remco



Reply | Threaded
Open this post in threaded view
|

Re: How to change the copyright of a 2000 images?

digikam-2
In reply to this post by Martin Burnicki-2
On Fri, 2 Aug 2019 09:36:16 +0200
Martin Burnicki <[hidden email]> wrote:

>
> Im using exiftool on the command line to do this, e.g.:
>
>   exiftool -Copyright="Martin Burnicki" -author="Martin Burnicki"
> *.jpg
>
> and if everything went OK (I never had a case where it wasn't OK)
> then remove the original files:
>
>   rm *orig*
>
> This is on Linux, and the EXIF data is stored in the original .jpg
> files. I haven't tried if this also works on Windows, or with .xmp
> files.

I'm also on Linux, but that doesn't work because all my files are raw
(CR2/Canon) and all the tags, descriptions, copyright... are in
the sidecars (the .xmp files)

--
sknahT

vyS