<div dir="ltr"><div><div><div>Hi Jens,<br><br></div>Your script seems so interesting, some days ago I was thinking of something similar, as I have a similar IT <i>infrastructure </i>for sharing DK's pictures at home, so such a script would be amazing. I'll try to test it during this week. Thank you very much for sharing!<br><br></div>BR,<br><br><br></div>d.<br><br><div class="gmail_extra"><br><div class="gmail_quote">On 20 March 2017 at 22:51, Jens Benecke <span dir="ltr"><<a href="mailto:jens-digikam@spamfreemail.de" target="_blank">jens-digikam@spamfreemail.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody,<br>
<br>
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.<br>
<br>
May I humbly present "digikam-select.rb", first release:<br>
<br>
    <a href="https://github.com/jensb/digikam-select" rel="noreferrer" target="_blank">https://github.com/jensb/digik<wbr>am-select</a><br>
<br>
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.<br>
<br>
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.<br>
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!<br>
<br>
There are many possible use cases, this is just one of them. Have a look, try it out, report bugs (on Github)!<br>
<br>
Thanks & enjoy,<br>
<br>
Jens<br>
<br>
</blockquote></div><br></div></div>