random-maintenance.sh
Shell find truncates log filesRuns find to enumerate regular files
SHA-256931d1488ae5dd2d4b72554c4fe69f26d076219cfa924f226a2ee5c979b0883b6
MaleculeO(Er)H(F)
Evidence
1#!/bin/sh -e
2# No cleanup identity: same truncation outside a *-cleanup.sh file still
3# reads as indicator removal.
4if [ -d /var/log ]; then
5 find /var/log -type f -name "*.log" -exec truncate -s 0 {} \;
6fi