From 2b8969616fabebb6cd42f4dd438fe1ff0b130143 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Fri, 11 Dec 2020 00:07:00 +0100 Subject: [PATCH] Delete false generated file --- generate.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/generate.sh b/generate.sh index 7a574aa..24f9f37 100644 --- a/generate.sh +++ b/generate.sh @@ -44,6 +44,7 @@ for origin_file in "$ORIGIN_FOLDER"*.*; do echo "Text successfully extracted to $txt_output_file:" cat "$txt_output_file" else + rm -v "$txt_output_file" echo "Extract images..." pdfimages "$origin_file" "$tmp_file" fi