1
dncba 2024 年 4 月 22 日
本地仓库直接删目录
|
2
WUWENZE 2024 年 4 月 22 日
find ~/.m2/repository -type f -name "*.lastUpdated" -exec rm -vrf {} \;
|
3
flyup 2024 年 4 月 22 日
everything 打开,直接搜索.lastUpdated
|
4
Curiosity777 OP @WUWENZE windows 环境
![]() |
5
Curiosity777 OP @flyup 这个可以
|
6
cherishd 2024 年 4 月 22 日 repository 目录下 cmd ,不要用 powershell
for /r %i in (*.lastUpdated) do del %i |
7
Curiosity777 OP @hellwen 👍
|
8
standstill 2024 年 5 月 6 日
set REPOSITORY_PATH=D:\your\maven\repository
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do ( del /s /q %%i ) rem 搜索完毕 pause bat 脚本 |