4chan/bin/truncate_logfiles_monthly.sh
2025-04-17 18:12:08 -05:00

3 lines
107 B
Bash

#!/usr/local/bin/bash
for f in /www/perhost/*txt /var/log/exim/*; do /usr/bin/truncate -c -s 0 "$f"; done