---
name: fileprune
version: 1.9
origin: sysutils/fileprune
comment: Prune a file set according to a given age distribution
arch: freebsd:9:x86:64
www: http://www.spinellis.gr/sw/unix/fileprune/
maintainer: dds@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 15152
desc: |
  Fileprune will delete files from the specified set targeting a given
  distribution of the files within time as well as size, number, and
  age constraints.  Its main purpose is to keep a set of daily-created
  backup files in manageable size, while still providing reasonable
  access to older versions.  Specifying a size, file number, or age
  constraint will simply remove files starting from the oldest, until
  the constraint is met.  The distribution specification (exponential,
  Gaussian (normal), or Fibonacci) provides finer control of the files
  to delete, allowing the retention of recent copies and the increasingly
  aggressive pruning of the older files.  The retention schedule
  specifies the age intervals for which files will be retained.  As
  an example, an exponential retention schedule for 10 files with a
  base of 2 will be

  1 2 4 8 16 32 64 128 256 512 1024

  The above schedule specifies that for the interval of 65 to 128
  days there should be (at least) one retained file (unless constraints
  and options override this setting).

  WWW: http://www.spinellis.gr/sw/unix/fileprune/
categories: [sysutils]
files:
  /usr/local/bin/fileprune: 748c6d16bae4f6416f7b4804865795a1c27cb8584cd23901780c9a71178a2410
  /usr/local/man/man1/fileprune.1.gz: 0c359e58a28682e030cc353b6cb968cf695bd8986c1e720dc4425b9484319943
scripts: {}
