"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/batch.rst" between
OCRmyPDF-8.0.1.tar.gz and OCRmyPDF-8.1.0.tar.gz

About: OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched.

batch.rst  (OCRmyPDF-8.0.1):batch.rst  (OCRmyPDF-8.1.0)
skipping to change at line 21 skipping to change at line 21
Both ``parallel`` and ``ocrmypdf`` will try to use all available processors. To maximize parallelism without overloading your system with processes, consider us ing ``parallel -j 2`` to limit parallel to running two jobs at once. Both ``parallel`` and ``ocrmypdf`` will try to use all available processors. To maximize parallelism without overloading your system with processes, consider us ing ``parallel -j 2`` to limit parallel to running two jobs at once.
This command will run all ocrmypdf all files named ``*.pdf`` in the current dire ctory and write them to the previous created ``output/`` folder. It will not sea rch subdirectories. This command will run all ocrmypdf all files named ``*.pdf`` in the current dire ctory and write them to the previous created ``output/`` folder. It will not sea rch subdirectories.
The ``--tag`` argument tells parallel to print the filename as a prefix whenever a message is printed, so that one can trace any errors to the file that produce d them. The ``--tag`` argument tells parallel to print the filename as a prefix whenever a message is printed, so that one can trace any errors to the file that produce d them.
.. code-block:: bash .. code-block:: bash
parallel --tag -j 2 ocrmypdf '{}' 'output/{}' ::: *.pdf parallel --tag -j 2 ocrmypdf '{}' 'output/{}' ::: *.pdf
OCRmyPDF automatically repairs PDFs before parsing and gathering information fro m them. If you are already repairing PDFs with ``qpdf`` prior to attempting OCR , or you can use ``--skip-repair`` to skip this step. It may improve performanc e for large files, since repairing PDFs is single-threaded. OCRmyPDF automatically repairs PDFs before parsing and gathering information fro m them.
Directory trees Directory trees
--------------- ---------------
This will walk through a directory tree and run OCR on all files in place, print ing the output in a way that makes This will walk through a directory tree and run OCR on all files in place, print ing the output in a way that makes
.. code-block:: bash .. code-block:: bash
find . --printf '%p' -name '*.pdf' -exec ocrmypdf '{}' '{}' \; find . --printf '%p' -name '*.pdf' -exec ocrmypdf '{}' '{}' \;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)