---
name: "tmpreaper.conf"
section: "5"
platform: "linux"
package: "tmpreaper"
version: "1.6.18"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tmpreaper.conf"
---

# tmpreaper.conf(5)

defines parameters for daily run of tmpreaper

## NAME

tmpreaper.conf - defines parameters for daily run of tmpreaper

## DESCRIPTION

**tmpreaper** is run daily via the /etc/cron.daily/tmpreaper script. Its behaviour can be tuned via the /etc/tmpreaper.conf file. This file can contain settings entries to override the defaults in the cron.daily script itself. These settings are:

- **TMPREAPER\_TIME**

  the max. age of files before they're removed. Default:\
   TMPREAPER\_TIME=7d

- **TMPREAPER\_PROTECT\_EXTRA**

  extra patterns that you may want to protect. Example:\
   TMPREAPER\_PROTECT\_EXTRA='/tmp/isdnctrl\* /tmp/important\*'\
   Don't forget to enclose the patterns in quotes, like above.

- **TMPREAPER\_DIRS**

  the directories to clean up.\
   **NEVER** supply / here! That will wipe most of your system!\
   Example:\
   TMPREAPER\_DIRS='/tmp/. /var/tmp/.'\
   Again, don't forget to enclose the patterns in quotes, like above.

- **TMPREAPER\_DELAY**

  defines the maximum (randomized) delay before starting processing. This is passed as the --delay parameter.

- **TMPREAPER\_ADDITIONALOPTIONS**

  defines any additional parameters you want to pass to the tmpreaper program, e.g. --all

## SEE ALSO

[*tmpreaper*(8)](/tmpreaper/8.md)

## AUTHOR

```
    Paul Slootman <paul@debian.org>
```
