Inkscape.org
Beyond the Basics Create new file from cmd line
  1. #1
    ktenney ktenney @ktenney

    Howdy,

    I often want to :

    #inkscape NewDrawing.svg

    However that's an error, I need to open 'New Document 1.svg'

    and 'save as' NewDrawing.svg,

    Is there config or other way around this?

    Thanks,

    Kent

  2. #2
    inklinea inklinea @inklinea⛰️

    To create a new file from the default template

    inkscape --actions="file-new;export-filename:new.svg;export-do"

    To create a new file from an existing file 

    inkscape --actions="export-filename:new.svg;export-do" drawing.svg

    Where drawing.svg is the file you want to create from
     

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Create new file from cmd line