I would like to use inkscape in command line in a python script.
What I would like to do is to delete a layer of an svg file, so the command I use is:
Code: Select all
inkscape file.svg --verb LayerDelete --verb FileSave --verb FileClose
which works well. I only have a problem when I want to run inkscape without a GUI (which is usefull in the script if I want to do several times this job). If I do
Code: Select all
inkscape file.svg -z --verb LayerDelete --verb FileSave --verb FileClose
nothing happens to the file, no layer is deleted.
Does anyone know why it doesn't work and has an idea?
Cheers