title: Convert DXF to SVG in Inkscape CLI while keeping layers
body: <p>In the Inkscape GUI, there is this awesome feature, that lets me
  'save as -> file type -> layers as individual SVGs' (the last one at the bottom). Is there any way of doing the same thing from the CLI?</p>
  
  <p>What I have so far:</p>
  
  <pre><code>inkscape -z -l output.svg input.dxf
  </code></pre>
  
  <p>This converts the 'input.dxf' to 'output.svg', but I can't find the layers within this SVG.</p>