English:
Pyrotate is Python program for log files rotation. It uses any external archiver such as Winrar, 7-zip or gzip for compress and may rotate files in GNU/Linux logrotate's style. Program works in any OS such as Windows, Linux, Unix, Mac OS, etc, where Python may work.
Dependencies:
- Python v2.6 or better v2.7 (v2.5 for pyrotate v0.8 or earlier)
- an external archiver

Russian:
Программа для ротации и/или архивации логов (и любых других) файлов, которая использует любой внешний архиватор и может ротировать файлы в стиле Линуксовой программы logrotate в любой ОС, где работает интерпретатор языка Python.
Требования:
- Python не ниже v2.6, а лучше v2.7 (или v2.5 для pyrotate v0.8 или ранее)
- любой внешний архиватор

Project Activity

See All Activity >

License

GNU General Public License version 2.0 (GPLv2)

Follow pyrotate

pyrotate Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
3
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Good, but doesn't provide a "real-time" gaurd.
  • I use this on quite a few log scripts, but found it failed on windows boxes that contain spaces in the path name. A quick change to the code solved it: Find line 356 in pyrotate.py change: cmd = "%s %s %s" % (compress, curr_file_arc, curr_file) to cmd = "%s \"%s\" \"%s\"" % (compress, curr_file_arc, curr_file) This adds the quotes to the cmd line command and allows any file name/ folder path combination. Other than that its a spot on script :) Thanks
  • We use this in Windows mostly, as in Linux too :)
Read more reviews >

Additional Project Details

Languages

English, Russian

Intended Audience

Advanced End Users, System Administrators

User Interface

Command-line

Programming Language

Python

Related Categories

Python File Compression Software, Python Backup Software, Python Log Rotation Software

Registered

2008-05-22