This question already has an answer here:

Does anyone know a way to import 1000s of svg symbols into QGIS without having to painstakingly click on every single XML file to import? I created SVG files (with xml) of all of the CAMUTCD sign symbols for CA, but it is so painful in QGIS to bring them all in and associate them automatically to the "class" classification in a categorized style process.

I would like to automate the process so it points to the svg directory in QGIS and in style have it automatically find the catagorized "class" value which is identical to the name of the SVG symbol.

marked as duplicate by Mapperz Nov 30 '17 at 20:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.