1. Convert the snapshot dir's datetime name to epoch
2. In the trip script apply the epochs to a parabolic function: y = x^2
3. Delete snapshot dirs which don't conform to the parabolic function... until the partition is ~70%
The majority of this script is simple enough... but I'm struggling with the parabolic function part. Can someone offer help or advise?
In reply to Curve fitting for rsync snapshot deletion by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |