Skip to content

Instantly share code, notes, and snippets.

View tachylatus's full-sized avatar

Helge Willum Thingvad tachylatus

  • Aalborg, Denmark
View GitHub Profile
@tachylatus
tachylatus / logrotate.bat
Last active September 17, 2021 09:12 — forked from urin/logrotate.bat
@echo off
::
:: logrotate.bat - Log rotation for windows
::
:: Usage: logrotate.bat filename maxfilecount [maxfilesize]
::
:: filename : The file name to rotate.
:: maxfilecount: Number of backup files.
:: maxfilesize : Rotated if the size of file exceeds specified size.
:: (Default is 0. Unit notation is available (K, M and G))