From 68610046c6444f4489b9972a5cb983a62b0b14f9 Mon Sep 17 00:00:00 2001 From: Michael Flagg <32328851+mflagg2814@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:59:33 -0500 Subject: [PATCH] Correct the archive dir name in `Watched folders with Docker` (#1173) --- docs/batch.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/batch.rst b/docs/batch.rst index 5eb698d7..00171c7a 100644 --- a/docs/batch.rst +++ b/docs/batch.rst @@ -152,7 +152,7 @@ The watcher service is included in the OCRmyPDF Docker image. To run it: docker run \ --volume :/input \ --volume :/output \ - --volume :/archive \ + --volume :/processed \ --env OCR_OUTPUT_DIRECTORY_YEAR_MONTH=1 \ --env OCR_ON_SUCCESS_ARCHIVE=1 \ --env OCR_DESKEW=1 \ @@ -163,7 +163,7 @@ The watcher service is included in the OCRmyPDF Docker image. To run it: This service will watch for a file that matches ``/input/\*.pdf``, convert it to a OCRed PDF in ``/output/``, and move the processed -original to ``/archive``. The parameters to this image are: +original to ``/processed``. The parameters to this image are: .. csv-table:: watcher.py parameters for Docker :header: "Parameter", "Description" @@ -171,7 +171,7 @@ original to ``/archive``. The parameters to this image are: "``--volume :/input``", "Files placed in this location will be OCRed" "``--volume :/output``", "This is where OCRed files will be stored" - "``--volume :/archive``", "Archive processed originals here" + "``--volume :/processed``", "Archive processed originals here" "``--env OCR_OUTPUT_DIRECTORY_YEAR_MONTH=1``", "Define environment variable ``OCR_OUTPUT_DIRECTORY_YEAR_MONTH=1`` to place files in the output in ``{output}/{year}/{month}/{filename}``" "``--env OCR_ON_SUCCESS_ARCHIVE=1``", "Define environment variable ``OCR_ON_SUCCESS_ARCHIVE`` to move processed originals" "``--env OCR_DESKEW=1``", "Define environment variable ``OCR_DESKEW`` to apply deskew to crooked input PDFs"