How to automatically delete old files?

Post Reply
boysenbill
Posts: 1
youtube meble na wymiar Warszawa
Joined: Fri Oct 08, 2021 9:45 pm

How to automatically delete old files?

Post by boysenbill »

Hi guys,

Sorry if this is in the wrong topic - my first post.

I have a AS1102T running 4.0.0.RKV2 ADM

I have some reolink IP cameras recording 24/7 to a folder.

How would I go about deleting old footage files that are older than say 30 days? Seems simple in theory but I can't for the life of me figure out how to do it using ADM.

I want to do this primarily to save storage space and to keep it continiously rolling over old footage.

Is there any way to do this?

Thanks in advance
ndl101
Posts: 59
Joined: Sun Jul 11, 2021 4:32 pm

Re: How to automatically delete old files?

Post by ndl101 »

TL;DR
CRON and a shell script.

If you had spent time searching the forums you would have found this.

I made it long as I lacked the time to make it short.

---
Help to self-help:
How to ask (good) questions in a forum
---
General information
Location: Denmark
OS: Ubuntu 20.04
NAS: Lockerstor 4 (AS6604T)
Post Reply

Return to “ADM general”