Auto Delete Continuous files
From what I understand, if I enable Delete files older than specified age.
It will delete both continuous files and motion captured files.
I want to be able to keep my motion captured files for as long as possible and have those delete only when free space drops below a certain threshold.
But, I want my Continuous captured files to be deleted after 7 days.
Is this possible?
Comments
-
Yes - there is a setting under Preferences > Cameras > Continuous Capture to "Delete old files after X days". If you set this for any camera, it will override the general setting under Preferences > Storage.
-
But doesn't the fact that I have to enable Delete old files by age under Storage for this setting to take effect, then cause my motion captured footage to be deleted by the age limit specified under Storage tab? Instead of it deleting by free space?
-
That's true, but under Preferences > Storage, you can set a much higher number of days. If you set a number of days here that is higher than would be possible based on the size of the drive (e.g. 365), then you achieve what you have described, which is to keep Motion Capture files as long as possible while deleing Continuous Capture files after 7 days.
-
Awesome, that should do the trick.
Thank you!
-
Great. We'll see if we can tweak this so that the general age-based deletion setting doesn't have to be enabled for this to work, but for now this is the situation.
-
Look at the manual pages for the command-line program called "find" - you can run a daily script that deletes files of certain name structures that are older than a certain age.
