@echo off
set REPOSITORY_PATH=D:\tools\path\repo\
rem 開始删除...
for /f "delims=" %%i in (\'dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"\') do (
del /s /q %%i
)
rem 删除完成!!
pause
set REPOSITORY_PATH=D:\tools\path\repo\
把這個路徑換成你倉庫路徑,然後以管理者運作。(重要!)
建議把這段指令設定成bat檔案,以便之後使用。