LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 12-10-2012, 05:29 AM   #1
charlemagne-is-my-son
Member
 
Registered: Dec 2012
Location: Shanghai
Distribution: Xubuntu, 14.04
Posts: 52

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, Baidu.com, 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
posix04
Member
 
Registered: Dec 2012
Posts: 32

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

Code:
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
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
Found these

http://online2pdf.com/convert/odt2pdf
http://dev.man-online.org/man1/odt2pdf/
www.youtube.com/watch?v=JXTP09hLv0A
 
1 members found this post helpful.
Old 12-10-2012, 12:32 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,219

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
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.
  


Reply


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 03:37 PM.

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