Inkscape – cropping SVG files on the Command Line
Mar 12, 2013 · Luckily, Inkscape will take command line arguments (called verbs). This means we can point it to all SVG files in a directory, instruct it to Fit to Drawing, and save the file again. It all takes place on one line. inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileClose *.svg.
DA: 100 PA: 91 MOZ Rank: 72