Using multiple epstopdf command
Hi,
I've installed epstopdf and can get it to work for one file at a time. But I have about 100 *.eps files which I want to convert to *.pdf using this command. How could I get linux to find all *.eps files in the directory and repeat the command for each converting them to *.pdf? At the moment the command that works for me is, $ epstopdf file.eps And works for one file Any help would be greatly appreciated. Thanks, Shane |
Hi
This will run epstopdf on all .eps files in current directory and all subdirectories: Code:
find . -name "*.eps" -exec epstopdf {} \; |
Hi Guttorm,
Thanks for the reply. I carefully copied and pasted the command into the command line and get Quote:
Thanks, Shane |
Hi
It works here. From the error message you got, it looks like it's missing the \ before the last ; You could try this, which is another way of writing the same command: Code:
find . -name "*.eps" -exec epstopdf {} ";" |
That commands works, I think.
I just have some issues with an error, Quote:
Thanks for your help, Shane |
If anyone else is having problems with the boundingbox converting eps files to pdf this page may be of help
Convert EPS to PDF: problem of bounding box |
All times are GMT -5. The time now is 08:03 PM. |