Dear @mgpai,
Could you please help with a script that automatically deletes files have been downloaded for more than 30 days (and bigger than 5GB if possible to add this filter) when HDD space reached 900GB (or 90% HDD used).
I have been using scheduled task on windows to delete the 30-days old files as per this instruction
Quote:
jackworthen.com/2018/03/15/creating-a-scheduled-task-to-automatically-delete-files-older-than-x-in-windows
|
But it would be great to keep the old files, especially the small files until there is only 10% space left. Thank you!