NethServer Version: 7.9.2009
Module: File Server
I’ve installed File Server on my Nethserver for folder sharing. I’ve enabled the Recycle Bin on a folder where nightly older files are automatically deleted. It appears my Recycle Bin folder for this file share has grown very large. I’ve asked this question before but wanted to confirm the answer:
where a shell script can be used:
find /var/lib/nethserver/ibay/ /Recycle -mindepth 1 -atime +30 -print0 | xargs -0r rm -rfv
Would the above script go through all my shared folder recycle bins and delete any files older than 30 days?
Is the preferred method still to use this in a cron job to clean up my recycle bin? Or is there a way now within the Nethserver/Cockpit GUI to setup this task?
Any advice for me on how to reduce the size of my recycle bin?