pyrotate

5.0 Stars (3)
4 Downloads (This Week)
Last Update:
Download pyrotate090.zip
Browse All Files
Windows Mac Linux

Description

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 или ранее)
- любой внешний архиватор

pyrotate Web Site

Update Notifications





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
Write a Review

User Reviews

  • philiparion
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Good, but doesn't provide a "real-time" gaurd.

    Posted 09/29/2012
  • oid-3221661
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    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

    Posted 02/28/2012
  • korrado
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    We use this in Windows mostly, as in Linux too :)

    Posted 04/02/2010
Read more reviews

Additional Project Details

Languages

English, Russian

Intended Audience

Advanced End Users, System Administrators

User Interface

Command-line

Programming Language

Python

Registered

2008-05-22
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.