From f052e910c9432eaa5b13f8fa0c4f72f02f97cc86 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 7 Nov 2024 00:09:55 -0800 Subject: [PATCH] docs: Improve batch command --- docs/batch.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/batch.rst b/docs/batch.rst index 688dc500e..ef670d6c6 100644 --- a/docs/batch.rst +++ b/docs/batch.rst @@ -44,7 +44,7 @@ place, and printing each filename in between runs: .. code-block:: bash - find . -printf '%p\n' -name '*.pdf' -exec ocrmypdf '{}' '{}' \; + find . -name '*.pdf' -printf '%p\n' -exec ocrmypdf '{}' '{}' \; This only runs one ``ocrmypdf`` process at a time. This variation uses ``find`` to create a directory list and ``parallel`` to parallelize runs