summaryrefslogtreecommitdiffstats
path: root/bin/watch_incoming.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/watch_incoming.sh')
-rwxr-xr-xbin/watch_incoming.sh2
1 files changed, 1 insertions, 1 deletions
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
5SPLIFF=$HOME/bin/spliff 5SPLIFF=$HOME/bin/spliff
6 6
7inotifywait -m -e create -e moved_to --format "%f" "${TARGET}" \ 7inotifywait -m -e create -e moved_to --format "%f" "${TARGET}" \
8 | while read FILENAME 8 | while read -r FILENAME
9do 9do
10 THUMB=$(mktemp /tmp/pdf_thumbnail_XXXXXXXXX.png) 10 THUMB=$(mktemp /tmp/pdf_thumbnail_XXXXXXXXX.png)
11 evince-thumbnailer -s 1024 -l "${TARGET}/${FILENAME}" "${THUMB}" 11 evince-thumbnailer -s 1024 -l "${TARGET}/${FILENAME}" "${THUMB}"