Giter VIP home page Giter VIP logo

all2txt's Introduction

all2txt

parallel converter to plain text for doc, docx, rtf, pdf files

File conversion with libreoffice is difficult to parallelize for massive batch conversion. And sometimes libreoffice hang makes it impossible to use.
This docker image converts all files (doc, docx, rtf, pdf ) in the input folder to plain text, via html with dedicated tools and GNU Parallel (https://www.gnu.org/software/parallel/).
Source code are available on github : https://github.com/dridk/all2txt

  • *.doc file are converted with abiword
  • *.rtf are converted with rtf2html
  • *.docx are converted with pandoc
  • *.pdf are converted with pdf2html

Usage

  • Create a folder named input with all your documents inside .
  • Pull image:
    docker pull dridk/all2txt
  • Run conversion with :
    docker run -v $(pwd)/input:/input --rm -it all2txt

all2txt's People

Contributors

dridk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.