Hi all,
I have installed inotify-tools, and now the watch sets up nicely, but
the print and move are not working
andrewg@linux-ltv0:~> ./photobooth-hp
Setting up watches.
Watches established.
lpr: Error - unable to access
"/home/andrewg/Pictures/Webcam/2016-06-15-223028.jpg.8QE9IY" - No such
file or directory
mv: cannot stat
‘/home/andrewg/Pictures/Webcam/2016-06-15-223028.jpg.8QE9IY’: No such
file or directory
I don't know where the suffix after the .jpg is coming from, is that
what is stopping the progress?
Here is the script
#! /bin/bash
inotifywait -m -e close_write ~/Pictures/Webcam --format "%w%f" | \
while read filename; do lpr -P Photosmart_C5200 "$filename"; mv
"$filename" ~/Pictures/Webcam/printed; done
The print spool name is correct. Once the party is over I will play with
Darktable and tethered shooting and specify a new Directory to watch. In
theory the flash on the Eos should fire and give an outstanding result.
Many thanks
Andrew Greig
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main