diff options
| author | Yigit Sever | 2019-12-30 15:35:50 +0300 |
|---|---|---|
| committer | Yigit Sever | 2019-12-30 15:35:50 +0300 |
| commit | 29e0f13632f2f0af0fcdcbab48e502bdeeb91cde (patch) | |
| tree | c8195337173b2e395830fb72dac36a20f38f7cb0 /bin | |
| parent | 22f4404592585368ad250cdbead655c498c10509 (diff) | |
| download | dotfiles-29e0f13632f2f0af0fcdcbab48e502bdeeb91cde.tar.gz dotfiles-29e0f13632f2f0af0fcdcbab48e502bdeeb91cde.tar.bz2 dotfiles-29e0f13632f2f0af0fcdcbab48e502bdeeb91cde.zip | |
Add safety flag
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/watch_incoming.sh | 2 |
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 | |||
| 5 | SPLIFF=$HOME/bin/spliff | 5 | SPLIFF=$HOME/bin/spliff |
| 6 | 6 | ||
| 7 | inotifywait -m -e create -e moved_to --format "%f" "${TARGET}" \ | 7 | inotifywait -m -e create -e moved_to --format "%f" "${TARGET}" \ |
| 8 | | while read FILENAME | 8 | | while read -r FILENAME |
| 9 | do | 9 | do |
| 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}" |
