On Wed, 28 Feb 2007, Jon Phillips wrote:
On Wed, 2007-02-28 at 23:30 -0800, Ted Gould wrote:
So I added in some new command line options that are fun.
How can you chain them together on the commandline? That would be great to call them in order...
Of course. I think that bash limits you to about 32,000 characters on the command line though ;)
If I remember right, a bunch of the early images submitted to OCAL don't have the canvas size close to the size of the actual drawing. You should be able to use this to resize all those cavases. I'm thinking something like:
find . -iname "*.svg" | xargs -n 5 inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileClose
Notice the '-n 5' on xargs. Otherwise Inkscape will try and load all the documents at the same time.
--Ted