Prune sysutils/pcpustat
[dports.git] / sysutils / fileprune / pkg-descr
1 Fileprune will delete files from the specified set targeting a given
2 distribution of the files within time as well as size, number, and
3 age constraints.  Its main purpose is to keep a set of daily-created
4 backup files in manageable size, while still providing reasonable
5 access to older versions.  Specifying a size, file number, or age
6 constraint will simply remove files starting from the oldest, until
7 the constraint is met.  The distribution specification (exponential,
8 Gaussian (normal), or Fibonacci) provides finer control of the files
9 to delete, allowing the retention of recent copies and the increasingly
10 aggressive pruning of the older files.  The retention schedule
11 specifies the age intervals for which files will be retained.  As
12 an example, an exponential retention schedule for 10 files with a
13 base of 2 will be
14
15 1 2 4 8 16 32 64 128 256 512 1024
16
17 The above schedule specifies that for the interval of 65 to 128
18 days there should be (at least) one retained file (unless constraints
19 and options override this setting).
20
21 WWW: http://www.spinellis.gr/sw/unix/fileprune/