批量删除Maven 仓库未下载成功.lastupdate 的文件
Windows:
@echo off echo 开始... for /f "delims=" %%i in ('dir /b /s "./*lastUpdated"') do ( del /s /q %%i ) echo 结束 pause
Linux:
echo 正在搜索... find . -name "*lastUpdated" | xargs rm -fr echo 搜索完毕
Windows:
@echo off echo 开始... for /f "delims=" %%i in ('dir /b /s "./*lastUpdated"') do ( del /s /q %%i ) echo 结束 pause
Linux:
echo 正在搜索... find . -name "*lastUpdated" | xargs rm -fr echo 搜索完毕