Bulk export patrons / borrowers images for batch processing
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
Hi, I create my own script to do this task. Added bug report to share it :) http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12996 Cheers, Pablo Bianchi Faculty of Engineering University of Buenos Aires Argentina
participants (1)
-
Pablo Bianchi