@echo off
rem
set REPOSITORY_PATH=E:\repository
rem
for /f “delims=” %%i in (‘dir /b /s “%REPOSITORY_PATH%*lastUpdated*”’) do (
del /s /q %%i
)
rem
pause
清理maven仓库中的lastUpdated文件
最新推荐文章于 2024-03-19 09:44:03 发布
@echo off
rem
set REPOSITORY_PATH=E:\repository
rem
for /f “delims=” %%i in (‘dir /b /s “%REPOSITORY_PATH%*lastUpdated*”’) do (
del /s /q %%i
)
rem
pause