TMPREAPER.CONF(5)
π TMPREAPER.CONF(5) π
okay bestie, welcome to the tmpreaper.conf page β it's from the File Formats Manual, and it's literally the lil settings file that tells the daily tmpreaper run how to behave. it's short, it's sweet, it's giving "one page, zero filler" energy. let's get into it π«Ά
β¨ NAME β¨
tmpreaper.conf β defines parameters for daily run of tmpreaper
πΈ DESCRIPTION πΈ
so here's the tea: tmpreaper gets run daily via the /etc/cron.daily/tmpreaper script. and the way it acts? totally tunable through the /etc/tmpreaper.conf file. this file can hold settings entries that override the defaults baked into the cron.daily script itself. no cap.
and these are the settings, one by one, no skipping, we're doing all of them π
π 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. fr fr, the quotes are not optional π
π TMPREAPER_DIRS
the directories to clean up.
NEVER supply / here! That will wipe most of your system! π like actually, do NOT do that. that's not a vibe, that's a tragedy.
example:
TMPREAPER_DIRS='/tmp/. /var/tmp/.'
again, don't forget to enclose the patterns in quotes, like above. same rule, same energy β¨
π 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 π
π AUTHOR π
Paul Slootman <paul@debian.org>
and that's the whole page, bestie β you ate it π this one's from the 4th Berkeley Distribution, dated Thu Sep 17 2009, and it lives in the File Formats Manual section. go forth and configure responsibly π¦β¨π
π¦ where this page comes from
- debian bookworm: tmpreaper 1.6.17
- debian trixie: tmpreaper 1.6.18
- ubuntu jammy: tmpreaper 1.6.14+nmu2
- ubuntu noble: tmpreaper 1.6.17+nmu1build1
- ubuntu resolute: tmpreaper 1.6.18
- ubuntu stonking: tmpreaper 1.6.18ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms