From 29e0f13632f2f0af0fcdcbab48e502bdeeb91cde Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 30 Dec 2019 15:35:50 +0300 Subject: Add safety flag --- bin/watch_incoming.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/watch_incoming.sh b/bin/watch_incoming.sh index b031461..eed1da0 100755 --- a/bin/watch_incoming.sh +++ b/bin/watch_incoming.sh @@ -5,7 +5,7 @@ PROCESSED=$HOME/Downloads/toPrint/toPrint_ready SPLIFF=$HOME/bin/spliff inotifywait -m -e create -e moved_to --format "%f" "${TARGET}" \ - | while read FILENAME + | while read -r FILENAME do THUMB=$(mktemp /tmp/pdf_thumbnail_XXXXXXXXX.png) evince-thumbnailer -s 1024 -l "${TARGET}/${FILENAME}" "${THUMB}" -- cgit v1.2.3-70-g09d2