mac删除本地仓库中所有的.lastUpdated

find /Users/liudawei/.m2/repository -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;

windows系统

cd %userprofile%\.m2\repository
for /r %i in (*.lastUpdated) do del %i

 

你可能感兴趣的:(mac删除本地仓库中所有的.lastUpdated)