AptLynx

Command-line tool

logrotate

brew/logrotate

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Rotates, compresses, and mails system logs

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install logrotate

Linux

brew install logrotate

Trigger a run manually

logrotate path/to/logrotate.conf --force

Run using a specific command to mail reports

logrotate path/to/logrotate.conf --mail /usr/bin/mail_command

Run without using a state (lock) file

logrotate path/to/logrotate.conf --state /dev/null

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents