BSD Ports

sysutils/fileprune 1.12_1 FreeBSD

Prune a file set according to a given age distribution

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
sysutils
Package size
12.3 KiB, 19.5 KiB installed

Description

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).

In the other systems

SystemPortVersion
FreeBSDsysutils/fileprune1.12_1
DragonFlysysutils/fileprune1.12_1

Install

Binary package:

pkg install fileprune

From the ports tree:

cd /usr/ports/sysutils/fileprune/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	fileprune>0:sysutils/fileprune

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.12_11.12_11.121.12_11.12_1
FreeBSD:14:quarterly1.12_11.12_1n/a1.12_11.12_1
FreeBSD:15:latest1.12_11.12_1n/a1.12_11.12_1
FreeBSD:15:quarterly1.12_11.12_1n/an/an/a
FreeBSD:16:latest1.12_11.12_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Files

distinfo 1
FileSizeSHA256
dspinellis-fileprune-1.12-2dd22fc_GH0.tar.gz30743d738ebe52f84fa29d85d795b281bb1b93d490c2df697d8c109f2ac9ea8e7251f

Commit history 0

No commits in the history this site was built from.