Clean up local maven repository (.bat)

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

To clean up content includes
all files containing the lastUpdated

set REPOSITORY_PATH=D:\repository
rem 正在搜索...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
    del /s /q %%i
)
rem 搜索完毕
pause

After editing the .bat file, double-click to run

Guess you like

Origin blog.csdn.net/qq_30552441/article/details/81502785