jameszah / ESP32-CAM-Video-Recorder

Video Recorder for ESP32-CAM with http server for config and ftp (or http) server to download video
GNU General Public License v3.0
453 stars 102 forks source link

Delete fork Task #30

Closed liox1985 closed 3 years ago

liox1985 commented 4 years ago

Hello Sir,

Is there any provision if SD card full with memory.. so ESP-CAM start check old video and deleting .. it will keep minimum current week/month data..as per configuration.

jameszah commented 4 years ago

I've thought about that off and on. Maybe delete after 8 (?) days, or delete at 10% free space. I have it on my list.

jameszah commented 4 years ago

https://github.com/jameszah/ESP32-CAM-Video-Recorder/tree/master/v98

Try this. It deletes the oldest day of videos whenever you SD hits 90% full.