I can't find how to open a new svg document with Inkscape, simply from the terminal.
If the document specified as argument (or via -f
) does not exist, there is just an error saying it doesn't exist, and then it opens an unsaved new document.
I tried using the verb FileSaveAs
like this for example:
inkscape --verb FileSaveAs mynewfile.svg
but FileSaveAs does not take arguments, it just opens the graphical window for this action.
I might be persnickety, but I would find it more convenient to be able to create a new file directly from the command line instead of having to launch this window and click to the right directory...
touch mynewfile.svg; inkscape mynewfile.svg
?