macOS
brew install tmpreaperlocal Homebrew formula metadata
sudo port install tmpreaperMacPorts ports tree · sysutils/tmpreaper/Portfile · 来源: api.github.com
安装
brew install tmpreaperlocal Homebrew formula metadata
sudo port install tmpreaperMacPorts ports tree · sysutils/tmpreaper/Portfile · 来源: api.github.com
sudo apt install tmpreaperDebian stable package indexes · tmpreaper · 来源: deb.debian.org
概览
Clean up files in directories based on their age
历史
tmpreaper is a long-lived Debian system-maintenance utility for removing old files from temporary directories based on access, modification, or change time.
The Debian manpage describes tmpreaper as a tool that recursively removes files and empty directories that have not been accessed for a specified period, especially in temporary holding areas such as /tmp. It emphasizes security behavior: avoiding symlink traversal, avoiding chdir(".."), not switching file systems, and stopping after a default runtime limit to reduce race-condition exposure.
The manpage names Karl M. Hegbloom as author, says tmpreaper is mostly based on tmpwatch 1.2/1.4 by Erik Troan, and lists Paul Slootman as the Debian maintainer. The Debian changelog shows active maintenance going back to the late 1990s and continuing through the 2025 1.6.18 release.
tmpreaper is historically rooted in Debian administration rather than in a GitHub-first CLI culture. Debian's package page places it in the admin section and documents the daily run configured through /etc/tmpreaper.conf.
The supplied source facts show availability through Homebrew, Debian, Ubuntu, and MacPorts. That spread reflects its appeal to users who want an established temp-file cleanup tool on both Linux distributions and macOS package ecosystems.
System administrators use tmpreaper to clean directories such as /tmp with explicit age thresholds and protect patterns. The manpage documents dry-run behavior, verbose output, shell-command-style reporting of deletions, ctime and mtime modes, symlink handling, runtime limits, and protect patterns.
For package-focused users, tmpreaper is the classic installable answer to a recurring housekeeping problem: clean old temporary files without writing an ad hoc find command for every host, while retaining options shaped by multi-user Unix security concerns.
tmpreaper is significant because it embodies the older Debian package model: a small C utility, a manpage, a conffile, cron integration, and decades of changelog-driven maintenance. It is not trendy, but it is exactly the kind of durable system utility package nerds notice.
Its history is also a reminder that temp cleanup is security-sensitive. The changelog records fixes for directory traversal, bind-mount/race-condition issues, systemd PrivateTmp protection, default ignore patterns, and reproducible-build concerns.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/tmpreaper.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tmpreaper | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:tmpreaper |
|---|---|
| 版本 | 1.6.18 |
| 软件包管理器 | Homebrew |
| 主页 | https://packages.debian.org/sid/tmpreaper |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tmpreaper 1.6.18
cleans up files in directories based on their age
sudo apt install tmpreapertmpreaper 1.6.17+nmu1build1
cleans up files in directories based on their age
sudo apt install tmpreapertmpreaper
sudo port install tmpreaper来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.