On 15/06/16 22:43, Andrew Greig via luv-main wrote:
> lpr: Error - unable to access
> "/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?

Possibly whatever is creating the files is first creating a temporary,
and then moving it to the actual name.

If you simply run:
  inotifywait -e ~/Pictures/Webcam

you will be able to observe what the sequence of events is.

If the file is being moved after creation, you would wait on the
'moved_to' instead of the 'close_write' in the script.

Glenn
-- 
sks-keyservers.net 0x6d656d65

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to