zoukankan      html  css  js  c++  java
  • maven仓库中的LastUpdated文件删除脚本

    cleanLastUpdated.bat(windows版本)

    @echo off  
    rem create by NettQun  
        
    rem 这里写你的仓库路径  
    set REPOSITORY_PATH=D:Javamaven-repositorymaven-aliyun
    epository  
    rem 正在搜索...  
    for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%*lastUpdated*"') do (  
        del /s /q %%i  
    )  
    rem 搜索完毕  
    pause  
    

      

    cleanLastUpdated.sh(linux版本)

    # create by NettQun  
      
    # 这里写你的仓库路径  
    REPOSITORY_PATH=~/Documents/tools/repository  
    echo 正在搜索...  
    find $REPOSITORY_PATH -name "*lastUpdated*" | xargs rm -fr  
    echo 搜索完  
    

      

  • 相关阅读:
    freopen
    字符
    map映射
    P3512 [POI2010]PIL-Pilots-洛谷luogu
    快读
    单调队列&单调栈
    简写
    邻接表&链式前向星
    mysql参数详解
    网络管理指南
  • 原文地址:https://www.cnblogs.com/techliang666/p/9159891.html
Copyright © 2011-2022 走看看