Batch conversion of ai/eps/cdr to svg
I'm trying to do a batch conversion of 340 eps, ai and cdr files to svg files using Inkscape via the command line. I've previously tried to do this using uniconverter but got lots of errors, whereas Inkscape via the gui was able to open and convert them without fail.
The problem I'm having is that there doesn't seem to be a way to open anything other than svgs from the command line. Trying something like inkscape -f infile.eps -l outfile.svg gave me:
"infile.eps:1: parser error : Start tag expected, '<' not found %!PS-Adobe-3.0 EPSF-3.0 ^ ** (inkscape:12078): WARNING **: Specified document infile.eps cannot be opened (does not exist or not a valid SVG file)"
Is there a way to do this?
Ant
After a lot of experimenting I finally discovered how i can do this, but it requires many different programs. See here http://www.inkscapeforum.com/viewtopic.php?p=30708#p30708
I wonder is these command line options are something that could be added to Inkscape in the future
Ant
On 25 January 2011 16:33, Antonio Roberts <antonio@...2662...> wrote:
I'm trying to do a batch conversion of 340 eps, ai and cdr files to svg files using Inkscape via the command line. I've previously tried to do this using uniconverter but got lots of errors, whereas Inkscape via the gui was able to open and convert them without fail.
The problem I'm having is that there doesn't seem to be a way to open anything other than svgs from the command line. Trying something like inkscape -f infile.eps -l outfile.svg gave me:
"infile.eps:1: parser error : Start tag expected, '<' not found %!PS-Adobe-3.0 EPSF-3.0 ^ ** (inkscape:12078): WARNING **: Specified document infile.eps cannot be opened (does not exist or not a valid SVG file)"
Is there a way to do this?
Ant
participants (1)
-
Antonio Roberts