[Koha] Bulk export patrons / borrowers images for batch processing
Pablo Bianchi
pablo.bianchi at gmail.com
Wed Sep 17 07:26:11 NZST 2014
Hi all,
I'm trying to download / export all patrons images into a set of files
(something like nnn.png/jpg, where nnn is cardnumber) so I could work with
them (ie Imagemagick mogrify) and then import them again
<http://manual.koha-community.org/3.16/en/tools.html#uploadpatronimages>
into other Koha instance.
I'm able to do this one by one with *wget patronimage.pl?borrowernumber=
<http://patronimage.pl?borrowernumber=>nnn* or all of them with
*SELECT imagefile FROM patronimage INTO OUTFILE '/tmp/PatronsImages.out'*
(FIELDS/LINES TERMINATED BY...)
but of course all in one file, without considering mimetype column and is
not easy for me to use split command in this case.
Before trying to write a script to walk *foreach* patrons I invoke list
wisdom, might be an easier way...
Regards,
Pablo
More information about the Koha
mailing list