spongy/rotate

8 lines
106 B
Bash
Executable File

#! /bin/sh
nl=$(date +log.%s)
cp log $nl
tail -n 40 $nl > log
echo "Don't forget to reload the clients"