Chapter 20. Using the Command Line

Inkscape has the ability to batch process SVG files without opening up the Graphics User Interface (GUI). The available options can be divided into a few categories: general commands, exporting commands (including printing), and query commands.

Most options have two forms: a short form preceded by one dash and a long form proceeded by two dashes. Some options take parameters that can (usually) either be attached to the option with an ’=’ sign (e.g., --export-png=my.png) or separated by a space (e.g., --export-png my.png).

General Options

General options:

 

-?, --help

Print the help message listing all command-line options with a short description.

--usage

Print a list of command-line options showing correct syntax for ...

Get Inkscape: Guide to a Vector Drawing Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.