Turning off the household power for a while recently without shutting the cameras down cleanly left a daytime image which is now now not being removed from the directory and is added to movies for each daytime
The problem is at lines 77-78, which looks like it should work but doesn't seem to
# Make sure there are no old images hanging around before we startsudo rm -f "$WORKPATH/webcam*.jpg"
Perhaps convert to get explicit names into a list before deleting
Turning off the household power for a while recently without shutting the cameras down cleanly left a daytime image which is now now not being removed from the directory and is added to movies for each daytime
The problem is at lines 77-78, which looks like it should work but doesn't seem to
# Make sure there are no old images hanging around before we start
sudo rm -f "$WORKPATH/webcam*.jpg"
Perhaps convert to get explicit names into a list before deleting