macOS
brew install tmpwatchlocal Homebrew formula metadata
安装
brew install tmpwatchlocal Homebrew formula metadata
sudo dnf install tmpwatchFedora Rawhide package metadata · tmpwatch · 来源: dl.fedoraproject.org
nix profile install nixpkgs#tmpwatchnixpkgs package indexes · pkgs/by-name/tm/tmpwatch/package.nix · 来源: api.github.com
sudo zypper install tmpwatchopenSUSE Tumbleweed package metadata · tmpwatch · 来源: download.opensuse.org
概览
Find and remove files not accessed in a specified time
历史
tmpwatch is a small Red Hat-originated system administration utility for recursively deleting files that have not been accessed for a configured period. Its historical niche is simple, cron-friendly hygiene for temporary directories such as /tmp.
The upstream man page carries Red Hat copyright years from 1997 through 2009 and lists Red Hat authors including Erik Troan, Preston Brown, Nalin Dahyabhai, and Miloslav Trmac. That places tmpwatch in the older Linux distribution tooling tradition: focused utilities shipped by distributions to solve recurring operational problems with minimal ceremony.
Red Hat Enterprise Linux 6 technical notes still documented tmpwatch in 2011 as an updated package for RHEL 6, and Fedora package metadata describes the same temporary-directory cleanup role. In this batch input, the package is also present through Homebrew, dnf, Nix, and zypper names, showing that the utility survived outside its original Red Hat context as a portable admin tool.
tmpwatch is normally run against one or more directories with an age threshold, commonly from cron or equivalent scheduled maintenance. Its safety details matter to administrators: the man page documents race-condition checks, avoiding filesystem crossings, ignoring symlinks in cleaned directories, and using atime by default with options for mtime and ctime.
For package-manager users, tmpwatch is interesting because it represents the pre-systemd era of distribution-specific housekeeping tools: tiny, scriptable, predictable, and packaged under the same name across several Unix-like ecosystems.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tmpwatch | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:tmpwatch |
|---|---|
| 版本 | 2.11 |
| 软件包管理器 | Homebrew |
| 主页 | https://pagure.io/tmpwatch |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tmpwatch
nix profile install nixpkgs#tmpwatchtmpwatch 2.11-31.fc45
A utility for removing files based on when they were last accessed
sudo dnf install tmpwatchtmpwatch 2.11-7.9
Watches file system activity, such as /tmp files
sudo zypper install tmpwatch来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.