Nethserver network recycle bin retention

Hello Team,

Does the nethserver network recycle bin have a retention policy where it will get auto cleaned if files are older than X days? I’m just starting to setup/use shared folders in our office but want to be aware of how long shared folder deleted files will be retained and if I need to schedule a cleanup task for regular intervals.

I see reference to this from this post:

Where it’s suggested to use this command to delete files older than 30 days:

#!/bin/sh
find /var/lib/nethserver/ibay/ /Recycle -mindepth 1 -atime +30 -print0 | xargs -0r rm -rfv

Thank you.

I don’t know, but you use the script with a cronjob which runs for example every night.

1 Like

Hello @m.traeumner,

Yes I could use a script in cronjob to do this for me. Just curious if this was already setup in Nethserver and if it’s something we can change the retention for (config file). Perhaps @support_team will know for sure.

Thanks!