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
- pipe-logger
Stores, rotates, compresses process logs. - Quick Rotate
Quick Rotate (Windows package; no description in the winget index) tool portable display rotation lightweight cli-tool… - logcheck
Mail anomalies in the system logfiles to the administrator - buzz
A simple system tray application for notifying about unseen e-mail - getmail6
Extensible mail retrieval system with POP3, IMAP4, SSL support - aws-rotate-key
Easily rotate your AWS access key - imgp
High-performance CLI batch image resizer & rotator - pdfsam
A JavaFX desktop application to split, merge, rotate and perform other manipulations on PDF documents
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents