Automic VaultAutomic Vault

brew

Install tmpwatch with Homebrew, dnf, Nix, zypper

Find and remove files not accessed in a specified time. Version 2.11 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tmpwatch

local Homebrew formula metadata

Linux

Fedora dnfverified · 92%
sudo dnf install tmpwatch

Fedora Rawhide package metadata · tmpwatch · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#tmpwatch

nixpkgs package indexes · pkgs/by-name/tm/tmpwatch/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install tmpwatch

openSUSE Tumbleweed package metadata · tmpwatch · source: download.opensuse.org

overview

Package summary

Find and remove files not accessed in a specified time

Commands and aliases

  • tmpwatch

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1997-2009: Upstream man page copyright range records Red Hat maintenance of tmpwatch.
  • 2009: The upstream man page is dated 2009-10-15.
  • 2011: Red Hat Enterprise Linux 6 technical notes documented a tmpwatch bug-fix update.

Related projects

  • cron and rm are referenced by the upstream man page as related commands in the cleanup workflow.
  • Distribution package metadata positions tmpwatch as a filesystem and temporary-file maintenance tool.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tmpwatchcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.11
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://pagure.io/tmpwatch

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://pagure.io/tmpwatchnone confidence

install metadata

Package metadata

Package keybrew:tmpwatch
Version2.11
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tmpwatch
Homepagehttps://pagure.io/tmpwatch
Repositoryhttps://pagure.io/tmpwatch
Upstream docshttps://pagure.io/tmpwatch/blob/master/f/tmpwatch.8
LicenseGPL-2.0-only
Source archivehttps://releases.pagure.org/tmpwatch/tmpwatch-2.11.tar.bz2
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametmpwatch
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

tmpwatch

nix profile install nixpkgs#tmpwatch
  • normalized package name match
  • Matched by: Tmpwatch
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tm/tmpwatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

tmpwatch 2.11-30.fc44

A utility for removing files based on when they were last accessed

https://pagure.io/tmpwatch

sudo dnf install tmpwatch
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tmpwatch
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tmpwatch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tmpwatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

tmpwatch 2.11-7.7

Watches file system activity, such as /tmp files

https://pagure.io/tmpwatch

sudo zypper install tmpwatch
  • License: GPL-2.0-only
  • Category: Productivity/Security
  • Architecture: x86_64
  • Source Package: tmpwatch
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tmpwatch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tmpwatch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment