
Hi Andrew, After the event I'd love to read a little write up of the setup you required to make a photo booth within linux. - software - hardware - how it hangs together - how it performed on the night, and are you happy with the results. Cheers Steve On 18/06/16 00:26, Andrew Greig via luv-main wrote:
Hi Glenn, SUCCESS! Thankyou. Even the printer is working correctly. My daughter will love this, and I am very grateful, and moreso for the education. I can get some sleep now.
Cheers
Andrew Greig
On 17 Jun 2016 9:39 pm, "Glenn McIntosh" <neonsignal@meme.net.au <mailto:neonsignal@meme.net.au>> wrote:
On 17/06/16 19:04, Andrew Greig wrote: > Here is the output from a cheese webcam photo > andrewg@linux-ltv0:~> inotifywait -m ~/Pictures/Webcam > Setting up watches. > Watches established. > /home/andrewg/Pictures/Webcam/ CREATE 2016-06-17-185734.jpg.C4S7IY > /home/andrewg/Pictures/Webcam/ OPEN 2016-06-17-185734.jpg.C4S7IY > /home/andrewg/Pictures/Webcam/ MODIFY 2016-06-17-185734.jpg.C4S7IY > /home/andrewg/Pictures/Webcam/ CLOSE_WRITE,CLOSE > 2016-06-17-185734.jpg.C4S7IY > /home/andrewg/Pictures/Webcam/ MOVED_FROM 2016-06-17-185734.jpg.C4S7IY > /home/andrewg/Pictures/Webcam/ MOVED_TO 2016-06-17-185734.jpg > I have no idea why cheese would append the extra characters
It isn't uncommon for programs to create a temporary and then only rename when the file is complete, perhaps this was changed in an update to cheese.
Anyway, it just means you would set the inotifywait to watch for the moved_to instead of the close_write, so that you pick up the final file, ie:
inotifywait -m -e moved_to ~/Pictures/Webcam --format "%w%f" etc
Glenn -- sks-keyservers.net <http://sks-keyservers.net> 0x6d656d65
_______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main