I would like that I want to delete the oldest file in one folder of /file, if the disk usage is higher then f.e. 90%.
Creation time is a valid parameter, but how I can refer to the smallest element?
Any Tipp?
Tanks, bestefan
I would like that I want to delete the oldest file in one folder of /file, if the disk usage is higher then f.e. 90%.
Creation time is a valid parameter, but how I can refer to the smallest element?
Any Tipp?
Tanks, bestefan