- Clone the project somewhere and move in:
git clone https://github.com/LaDHUL/BulkImageImportTest.git
cd BulkImageImportTest
-
Have a running Knora stack (http://localhost:3333) containing the
anything
ontology -
Prepare a folder containing all image files
-
Depending of the image format of your files, if necessary add to the
mimetypes
file the missing format (file extension:mimetypes
) -
The test will launch:
- one bulk import per accepted file (that is, mimetypes managed)
- a full bulk import of all images
Launch the test:
full_path_to_image_folder
: full path to the image foldersimage_xml_path
: image full path required in the xml file (depending on your Sipi installation)
./checkImageFolder.sh {full_path_to_image_folder} {image_xml_path} > log &
tail -f log
Print out only errors and warnings:
egrep "ERROR|WARN" log