View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-10-2012, 05:29 AM   #1
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 54

Rep: Reputation: Disabled
Libreoffice - how can I convert many odt files to doc or pdf automatically?

I have a large number of .odt files. I need to convert them all to doc or pdf format. I know that I could open each and save them as such, but that would take loads of time.

Is there a program that could do this for me en masse or one I could write as a bash script? Any leads or pointers would be much appreciated.

Also, I apologize in advance if this is a repeat question or there's an obvious fix. Google gets blocked like mad here in China (I'm an English teacher) and their "healthy" alternative,, is very bad with English search queries.

Thanks and I'm glad to be here. No expats I've met use linux, so it's really nice to have this resource.
Old 12-10-2012, 06:33 AM   #2
Registered: Dec 2012
Posts: 32

Rep: Reputation: Disabled
I use unoconv terminal command to convert them.
Install it from your package-manager and run:

unoconv -f pdf ~/doc/*.odt
~/doc/ is where are my odt documents, you need to indicate where are yours. If you don't indicate it, unoconv won't work.

Last edited by posix04; 12-10-2012 at 06:50 AM.
4 members found this post helpful.
Old 12-10-2012, 09:29 AM   #3
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,794

Rep: Reputation: 208Reputation: 208Reputation: 208
Found these
1 members found this post helpful.
Old 12-10-2012, 12:32 PM   #4
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,826

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
While not the answer you're looking for, libre office can save in .doc format.Change settings i LibreOffice under Tools>>Options>>General>>Load/Save under "Always save as" select "Microsoft Word 2007XML"
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to convert html to odt or doc using linux command line? zoghbi Linux - Newbie 5 12-26-2011 04:49 AM
convert odt or .doc into html linuxmandrake Linux - Software 6 02-23-2008 04:48 AM
Software to automatically convert DOC into PDF rsmccain Linux - Software 3 11-23-2006 11:19 AM
Convert .DOC into .PDF automatically MPANDYA Linux - Software 2 11-08-2005 09:34 AM

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration