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
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
filename_out.svg
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.
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\*.svgConcreteInkscapeApplication::on_open: failed to create document!
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/
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
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 folderIf 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.
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!
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/