How can I convert all .svg files in a directory to .pdf on Linux in the commandline
In this post, the procedure is shown for a single file.
The relevant command is:
rsvg-convert -f pdf -o t.pdf t.svg
For a whole directory, a simple bash script does the job:
for i in *.svg;do rsvg-convert -f pdf -o ${i%.*}.pdf $i;done
This assumes that you have rsvg-convert installed, if not you can get it by typing:
sudo apt-get install librsvg2-bin