# 这里写你的仓库路径
# REPOSITORY_PATH=~/.m2/repository
REPOSITORY_PATH=E:/devenv/maven/repository
echo 正在搜索...
find $REPOSITORY_PATH -name "*lastUpdated*" | xargs rm -fr
echo 搜索完
使用Git Bash执行脚本
sh batchDelLastUpdated.sh
# 这里写你的仓库路径
# REPOSITORY_PATH=~/.m2/repository
REPOSITORY_PATH=E:/devenv/maven/repository
echo 正在搜索...
find $REPOSITORY_PATH -name "*lastUpdated*" | xargs rm -fr
echo 搜索完
使用Git Bash执行脚本
sh batchDelLastUpdated.sh