Inkscape.org
Beyond the Basics batch converting a folder of .svg files
  1. #1
    Talmore Talmore @Talmore

    Hello world,

    I have a folder of 100+ inkscape.svg files. I want to converting them to plain .svg in a different folder. How would I do this?

    Thanks

    Talmore

  2. #2
    inklinea inklinea @inklinea⛰️
    *

    for the same folder - it should be as simple as:

    inkscape --actions="export-plain-svg;export-do" ./*.svg

    this will create filename_out.svg in the same folder

    If you want a different folder, you would have to do a bit of scripting

    I would still use copies of the original svg files, just in case anything goes wrong.

  3. #3
    Talmore Talmore @Talmore

    Thanks for the response. It looks sound but it didn't work. the error message I got follows:

    *.svg' cannot be opened!

    InkscapeApplication::document_open: Failed to open: C:\mypath\*.svg
    ConcreteInkscapeApplication::on_open: failed to create document!

     

     

  4. #4
    inklinea inklinea @inklinea⛰️

    I forgot wildcards do not work with the windows command line.

    See my reply half way down this thread. (powershell)

    https://inkscape.org/forums/questions/batch-conversion-of-pdf-to-eps-via-command-line/

Inkscape Inkscape.org Inkscape Forum Beyond the Basics batch converting a folder of .svg files