Hi All!
For windows users
https://brorabbit.g0x.ru/files/win/arclog.cmd (rar used)
https://brorabbit.g0x.ru/files/win/ziplog.cmd (zip used)
Archives and deletes all log files in the LOGSDIR directory.
Places an archive like yyyy.mm.dd.rar in the ARCDIR directory. Deletes
files older than NUMBER months in it.
Архивирует и удаляет все файлы с расширеникм log в директории LOGSDIR.
Помещает архив вида yyyy.mm.dd.rar в директорию ARCDIR. Удаляет в ней все
файлы старше NUMBER месяцев.
Usage: arclog.cmd LOGSDIR ARCDIR NUMBER
~~~~~~
LOGSDIR - directory with log files.
директория с log файлами.
ARCDIR - directory with archive files.
директория с файлами архивов.
NUMBER - how many months to keep archives. Default is 3.
сколько месяцев хранить архивы. По умолчанию 3.
апример / For example
arclog.cmd d:\fido\logs d:\fido\logs\arc 5
ziplog.cmd d:\fido\logs d:\fido\logs\arc 2
Have nice nights.
Stas Mishchenkov.
--- Хорошо воспитанная женщина - не ругается матом, она матом умеет смотреть.
* Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)