脚本


@echo off
rem create by NettQun
  
rem 仓库路径
set REPOSITORY_PATH=D:\maven_repository
rem 搜索中
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
    echo %%i
    del /s /q "%%i"
)
rem 搜索完毕
pause