I have a folder containing a bunch of ppts, each of which I'd like to convert to an individual pdf. I'm using Ubuntu 10.04 with whatever comes installed on it.
|
|
You can use unoconv. It's available in the repositories, so you can just apt-get it: unoconv Note that the info in the web page is outdated. Use man or type unoconv -h to get actual command line options. It works like this:
This command will create a presentation.pdf file. I have only used it to batch convert ods to pdf and it works perfectly. I haven't tried it with presentations (but for a quick test now), but I expect that it will work nicelly. Note that it will not work on Lucid (10.04), because of a bug in the python-openoffice biddings. If you need to use it on Lucid, you can add this ppa to your software sources to upgrade your Openoffice version. |
|||||||||||||
|
|
You can also use the command line of libreoffice for your purpose. This example converts all ppt-files in the current directory to pdf's:
Get more information on command line options with:
(Note: You have to close all running instances of libreoffice before the command line works) |
|||||||||||||||
|
|
easy cheat- use unoconv with midnight commander to convert odt to pdf: launch mc - navigate where the odt files are tag odt files using Ctrl-T then F2,@, paste in "unoconv -f pdf" (without the quotes) it will spew a bunch of dire error messages, but it works! |
|||
|
|