Inkscape Community
Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: jesperg on May 01, 2017, 01:08:04 AM
-
Hi.
I want to batch convert *.pdf files in a folder to SVG keeping the same name. Is this possible ?
I have looked at all commandline commands, but it seems that i have to give an input filename and a output filename.
Thanks
Jesper G
-
Welcome Jesper!
I don't know much about using the command line. But just thinking it through -- for a batch conversion, how could you give the input name and output name, for all the files, in one command (or one line of code)? I guess maybe the command would reference a file which contains the names of all the files? And also reference a different file which contains the output names???
If that's the case, I wonder if you could just reference the same file for input and output? But that's just a guess, from someone who has never used the commandline (and hardly ever used any kind of terminal).
The only other thing I can think of, is Irfanview. I guess it's essentially an image viewer, but it acts like an editor in many ways. It has a reputation for handling many different image formats. And it has a batch conversion feature as well. I've used that myself, several years ago.
I know it handles SVG, but don't know if specifically PDF to SVG is possible. But I'd be optimistic :)
http://www.irfanview.com/
-
Maybe this is interesting, too:
https://en.wikipedia.org/wiki/Wikipedia:Graphic_Lab/Resources/PDF_conversion_to_SVG
If the program you want to use does not have a batch mode (which you can find out by reading the documentation, or by sharing which program you intend to use), you can write a short script (for your operating system), that can pass the file names on.