pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
548 stars 101 forks source link

Auto deleting old files #57

Closed KminekMatej closed 7 years ago

KminekMatej commented 7 years ago

User should put config.py limit of disc size. When this size is reached, older files would gets automatically deleted to create space for the new motions.

pageauc commented 7 years ago

Yes I have code that will do this and will take a look at adding this feature as an option. Setting a percent of disk full before deleting files. eg 80% full and a value for MB to delete or recover. This will avoid constant activation of deletion that may slow processing down. That is the main reason I did not add feature. Instead I use recycling to overwrite older images. Claude ...

pageauc commented 7 years ago

Version 6.00 now released that includes disk space management. Please let me know if you have any issues.