digikam-select: Batch export from Digikam using the command line
Jens Benecke
jens-digikam at spamfreemail.de
Mon Mar 20 21:51:17 GMT 2017
Hi everybody,
I have finally finished scratching my very personal itch with Digikam
and that was to be able to automatically (!) (re)export a fixed set of
images from the Digikam database, without constantly having to perform
the task manually in Digikam.
May I humbly present "digikam-select.rb", first release:
https://github.com/jensb/digikam-select
The idea is to be able to write scripts that automatically select images
(and other files) from the digikam database based on rating, tags or
album name and put copies somewhere else (e.g. on a NAS). The images can
optionally be resized or recompressed using ImageMagick's "convert"
utility. It is also possible to create symlinks or hardlinks saving
space, only referencing matching images.
I use this for the rest of my family: once a day digikam-select.rb
selects all images tagged "for-Family", recompresses them using
ImageMagick and recreates my album structure on our home NAS using these
recompressed images. These folders are available to all family members
and also automatically synced to our family Android tablet.
So any time we want to go visit friends and maybe show some pictures we
just grab the tablet and are sure only "suitable" images (but all good
ones) are on there!
There are many possible use cases, this is just one of them. Have a
look, try it out, report bugs (on Github)!
Thanks & enjoy,
Jens
More information about the Digikam-users
mailing list