
Up spake Ted Gould:
It would be a really cool feature if someone implemented a command line option to the Extensions system to allow for batch conversion between any supported formats.
Here you go. It's in GNU Make format (should work with other Maken).
.SUFFIXES: .svg .ps .png .eps .pdf .svg.ps: inkscape -p '> $@' $< .svg.png: inkscape -d 72 -e $@ $< .ps.eps: ps2eps -l -f $< || ps2epsi $< $@ .ps.pdf: ps2pdf $<
Save that to "foo.mk". To convert a single file "bar.svg":
make -f foo.mk bar.eps
Or to convert all files in the current directory:
for i in *.svg; do make -f foo.mk ${i%svg}eps done
I realize this doesn't help Windows users much. Sorry. I *have* done this sort of thing on Windows, but it requires a *lot* of mucking about; presumably if you wanted that sort of thing, you wouldn't be on Windows.