From owner-freebsd-questions@FreeBSD.ORG Wed May 27 18:20:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFAD7106566C for ; Wed, 27 May 2009 18:20:40 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id AFD258FC20 for ; Wed, 27 May 2009 18:20:38 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 0E0837E837; Wed, 27 May 2009 10:20:38 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 27 May 2009 20:20:36 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <26face530905270841l9a28ec9n9d33ec9665cd01c0@mail.gmail.com> In-Reply-To: <26face530905270841l9a28ec9n9d33ec9665cd01c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905272020.36430.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Kelly Jones Subject: Re: Formatted text conversion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 18:20:41 -0000 On Wednesday 27 May 2009 17:41:56 Kelly Jones wrote: > I have e-books in several formats (DOC, LIT, PDF, RTF, HTML, TXT, > etc). Is there a Unix command-line tool that converts between these > formats? > > If not, is there at least a tool that converts these formats to TXT? > > My goal is to read these books on my Kindle, even if it means losing > some formatting/bells/whistles. There isn't a one-for-all that I know of. Doc (if that's MS Word) and Lit are probably the hardest to find for command line, especially one that recognizes versions. For the rest, check out print (for PDF mostly), converters and textproc category. There are a few available to you and best you check for yourself what features you need (I suppose batch processing). grep -i rtf /usr/ports/$category/*/pkg-descr does wonders for a quick overview. -- Mel