Warning: ftp_fget() expects parameter 1 to be resource, null given in /www/wwwroot/new.weijing.co/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146

Maven在linux环境下批量清除.lastUpdated文件

一、在/usr/bin/下编写脚本

vim /usr/bin/delete_lastUpdated.sh

#输入
echo 正在搜索...
find . -name \"*lastUpdated\" | xargs rm -fr
echo 搜索完毕

保存
在本地仓库目录下运行delete_lastUpdated.sh脚本

delete_lastUpdated.

执行成功

Shopping Cart