macOS
brew install tmpwatchlocal Homebrew formula metadata
brew
Find and remove files not accessed in a specified time. Version 2.11 via Homebrew; verified from local package data.
install
brew install tmpwatchlocal Homebrew formula metadata
sudo dnf install tmpwatchFedora Rawhide package metadata · tmpwatch · source: dl.fedoraproject.org
nix profile install nixpkgs#tmpwatchnixpkgs package indexes · pkgs/by-name/tm/tmpwatch/package.nix · source: api.github.com
sudo zypper install tmpwatchopenSUSE Tumbleweed package metadata · tmpwatch · source: download.opensuse.org
overview
Find and remove files not accessed in a specified time
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tmpwatch | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:tmpwatch |
|---|---|
| Version | 2.11 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tmpwatch |
| Homepage | https://pagure.io/tmpwatch |
| Repository | https://pagure.io/tmpwatch |
| Upstream docs | https://pagure.io/tmpwatch/blob/master/f/tmpwatch.8 |
| License | GPL-2.0-only |
| Source archive | https://releases.pagure.org/tmpwatch/tmpwatch-2.11.tar.bz2 |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tmpwatch |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tmpwatch
nix profile install nixpkgs#tmpwatchtmpwatch 2.11-30.fc44
A utility for removing files based on when they were last accessed
sudo dnf install tmpwatchtmpwatch 2.11-7.7
Watches file system activity, such as /tmp files
sudo zypper install tmpwatchsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.