Schedule job to free space from hdd

  • Hi,


    I just bought and installed an ip camera which is storing videos files on a specific hdd Via ftp.

    The ip camera (reolink) app is good enough i don’t need to use a nvr app on omv like shinobi.


    however the only issue i have is that the hdd will run out of space, so is there any way to run a script that will delete older files if the hdd space is running low and where i can define the hdd space threshold?

  • Yes i saw that, i found command search and delete files depending on their age but i don’t know how to code this algorithm :


    If hdd space is < x then

    Delete older files for y space

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!