jeremy_fritz
Posts: 70
Joined: Tue Jul 17, 2012 7:04 pm

Image created by Raspistill is not detected by Incron.d

Thu Jul 23, 2015 6:15 pm

Hi everyone,

I just plugged my camera pi on my raspberry pi 2.
Evrrythinf is working well and I would like to put some intelligence in it.

I want to receive an email each time an image is taken by the cam.
Then, I created a dedicated script to send an email with an attached file in parameter (the image).
I use Incron to detect if a new file is created in my folder. incron works well when I create a test file (touch test) but when I try "raspistill - o image.jpg", nothing happens.
I have to copy the file (via cp command) to make Incron detect the new file. It doesn't work if I try to move the file from another folder to the watched folder (via mv command).

Do you know why incron doesn't see my file?
Do you know how to make it work without using "cp" command?

Thank you all!

Return to “Other projects”