@majkers wrote:
Hello,
I would like HA to record short video files when motion in my camera is detected. They will be stored somewhere in www folder let’s say www/camera_motion. I would like to automatically delete content of that folder when it is larger thant 500 MB. I know I might use folder sensor to know folder’s size but I don’t know how to delete files from it but only those which are older than x days. I assume I will need shell command or something. Can anyone please help me? Cheers
Posts: 1
Participants: 1