Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1790073
  • 博文数量: 297
  • 博客积分: 285
  • 博客等级: 二等列兵
  • 技术积分: 3006
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-06 22:04
个人简介

Linuxer, ex IBMer. GNU https://hmchzb19.github.io/

文章分类

全部博文(297)

文章存档

2020年(11)

2019年(15)

2018年(43)

2017年(79)

2016年(79)

2015年(58)

2014年(1)

2013年(8)

2012年(3)

分类: LINUX

2017-06-16 11:35:13

Amazon currently accepts limited number of ebook formats that you can directly send to your Amazon Kindle. In this config we are going to show few Linux tools which may assist you with the conversion between various Document and eBook formats.

Based on your amazon Kindle type the supported formats may include:
  • Microsoft Word (.doc, .docx)
  • Rich Text Format (.rtf)
  • HTML (.htm, .html)
  • Text (.txt) documents
  • Archived documents (zip , x-zip) and compressed archived documents
  • Mobi book
  • Portable Document Format PDF
  • JPEGs (.jpg)
  • GIFs (.gif)
  • Bitmaps (.bmp)
  • PNG images (.png)
  • ebook-convert

    The first tool you might consider is ebook-convert. This tool is available on Fedora , CentOS, Redhat Linux under the package named ebook-tools. To install ebook-tools package run the command below:

    点击(此处)折叠或打开

    1. # yum install ebook-tools
    Once installed you can use ebook-convert to convert between various eBook formats such as PDF, ePub, Mobi or RTF. Few examples are listed below:

    Convert ePub to Mobi

    点击(此处)折叠或打开

    1. $ ebook-convert my-ebook.epub my-kindle.mobi

    Convert PDF to Mobi

    点击(此处)折叠或打开

    1. $ ebook-convert my-ebook.pdf my-kindle.mobi

    Convert ePub to rtf

    点击(此处)折叠或打开

    1. $ ebook-convert my-ebook.epub my-kindle.rtf

    calibre

    Another great tool to consider is calibre. calibre is available on any decent Linux distribution and can be installed by using the following command:

    点击(此处)折叠或打开

    1. FEDORA/CENTOS/REDHAT
    2. # yum install calibre
    3. DEBIAN/UBUNTU
    4. # apt-get install calibre
    calibre calibre supports multiple ebook formats such as MOBI, EPUB, PDB, AZW3 to name just few. To convert ebooks using calibre tool simply open a calibre application

    点击(此处)折叠或打开

    1. $ calibre
    book you wish to convert: convert ebook to amazon kindle mobi using calibre - linux Select convert ebooks, followed by the conversion output format such as mobi and hit OK button. Once the ebook is converted it will be saved into your previously predefined "Calibre Library" directory.

    unoconv

    unoconv tool allows you to convert between LibreOffice, PDF, TXT and Microsoft's doc and docx document formats. To install unoconv on your distribution simply run:

    点击(此处)折叠或打开

    1. FEDORA/CENTOS/REDHAT
    2. # yum install unoconv
    3. UBUNUT/DEBIAN
    4. # yum install unoconv

    Convert ODF to PDF

    For example to convert LibreOffice odt format to PDF you would run:

    点击(此处)折叠或打开

    1. $ unoconv -d document my-doc.odt
    2. $ ls
    3. my-doc.odt my-doc.pdf

    Convert ODT to DOCX

    To convert to any other suported document format we need use --format option. For example next we are going to convert Libre Office document to Microsoft document:

    点击(此处)折叠或打开

    1. $ unoconv -d document --format=docx my-doc.odt
    2. $ file my-doc.docx
    3. my-doc.docx: Microsoft Word 2007+

    Convert ODT to DOC

    Similarly we can convert for Microsoft doc format:

    点击(此处)折叠或打开

    1. $ unoconv -d document --format=doc my-doc.odt
    2.     $ file my-doc.doc
    3.     my-doc.doc: Composite Document File V2 Document, Little Endian, Os: Windows, Version 1.0 ...
    原帖地址:
    
    
    后记:后来我找到了一个很好的在线转换文件格式的网站
    
    
阅读(1049) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~