On 06/24/2011 07:03 PM, lee wrote:
> NoOp <gl...@sbcglobal.net> writes:
> 
>> On 06/22/2011 02:33 AM, Stephan Zietsman wrote:
>> --convert-to output_file_extension[:output_filter_name] [-outdir
>> ouput_dir] files
>>       Batch convert files.
>>       If -outdir is not specified then current working dir is used as
>> output_dir.
>>       Eg. -convert-to pdf *.doc
>>           -convert-to pdf:writer_pdf_Export -outdir /home/user *.doc
> 
> This doesn't work:
> 
> ,----
> | lee@yun:~/tmp$ libreoffice --headless --convert-to pdf test.odt
> `----
> 
> ... pops up a dialogue box saying "/home/lee/tmp/pdf does not exist."
> 
> Please note the --headless option; it's another bug that it pops up a
> dialogue box nonetheless.
> 
> Please note that in the example, it's "-convert-to". So what should it
> be, "--convert-to" or "-convert-to"?
> 

Worked for me. I created a test.odf and then:
$ /opt/libreoffice3.4/program/soffice --convert-to pdf test.odt
and I now have:
$ ls test.pdf
test.pdf




-- 
Unsubscribe instructions: E-mail to users+h...@global.libreoffice.org
In case of problems unsubscribing, write to postmas...@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to