33

I know I can use Save as in Inkscape to convert from SVG to Enhanced Metafile (EMF). But if I have several files this is a bit cumbersome. Is there a command line tool I could use instead?

hlovdal
  • 3,168

3 Answers3

26

With Inkscape 1.0 the commands changed. And since this is the top Google result, I thought it might be worth to update the answer:

inkscape filename.svg --export-filename filename.emf
Azrael_DD
  • 361
23

If you want the exact command to do this here it is:

$ inkscape --file <Input-file> --export-emf <output-file>
gst
  • 384
  • 3
  • 8
13

Looks like you can use inkscape from the command lone to do this with the -M switch.

http://tavmjong.free.fr/INKSCAPE/MANUAL/html/CommandLine-Export.html

Nick R
  • 146