Small utility to rotate files.Example of a crontab
sudo python setup.py install
This will rotate every night at midnight.
$ crontab -e
0 0 * * * /usr/local/bin/pyro
$ cat /etc/pyrorc
# file - file name to rollover
# backupCount - at most backupCount files will be kept (0 means no limit)
[bash]
file = $HOME/.bash_history
backupCount = 0