1.新建一个文件,后缀名改为.bat
2.编辑:
@echo off
rem REPOSITORY_PATH=后面跟上maven仓库的地址
set REPOSITORY_PATH=
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
del /s /q %%i
)
pause
1.新建一个文件,后缀名改为.bat
2.编辑:
@echo off
rem REPOSITORY_PATH=后面跟上maven仓库的地址
set REPOSITORY_PATH=
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
del /s /q %%i
)
pause