inkscape command line, where is it on mac?

前端 未结 3 521
时光说笑
时光说笑 2021-01-31 16:24

This is a kinda silly question. I\'ve installed Inkscape on my mac (Marvericks OS) following this page http://www.inkscape.org/en/download/mac-os/

I know there is a comm

3条回答
  •  一向
    一向 (楼主)
    2021-01-31 17:11

    I have Inkscape installed in /Applications and running this from a terminal does the trick:

    /Applications/Inkscape.app/Contents/MacOS/inkscape --help
    
    Usage: inkscape-bin [OPTIONS...] [FILE...]
    
    Available options:
      -V, --version                             Print the Inkscape version number
    
    ... etc.
    

    For ease of use symlink it to /usr/local/bin i.e.:

    ln -s /Applications/Inkscape.app/Contents/MacOS/inkscape \
          /usr/local/bin/inkscape
    

    In general, on MacOS Inkscape needs to be called with an absolute path, and all files given as arguments should also be full paths. See also:

    https://bugs.launchpad.net/inkscape/+bug/1449251

提交回复
热议问题