Skip to content

dustindorroh/pyro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyro

Small utility to rotate files.Example of a crontab

Install

sudo python setup.py install

Setup crontab to rotate periodically

This will rotate every night at midnight.

$ crontab -e
0 0 * * * /usr/local/bin/pyro

Modify Config

$ 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

About

Small utility to rotate files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages