Delete false generated file

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-11 00:07:00 +01:00
parent f58c83fc3f
commit 2b8969616f
1 changed files with 1 additions and 0 deletions

View File

@ -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