::
:: Title  : sql_svr_hkf.sql
:: Author : EXADIME LLC
:: Created: 29-Jul-2017
:: Updated: 29-Jul-2017
:: Release: 1.0.0
:: Purpose: SQL Server log file housekeeping.
:: History: N/A
::/
 
 -- Delete files older than 30 days.
forfiles /p "C:\scripts\exa\log" /s /m sql_svr_bkp*.* /c "cmd /c Del @path" /d -30