zoukankan      html  css  js  c++  java
  • 复制增量,拷贝增量批处理

         复制增量,拷贝增量批处理

        @echo off

    xcopy "D:\TestAutoDeploy\Addition" "D:\TestAutoDeploy\TestDataAnnotation" /e/y
    set folder=%DATE:~0,4%%DATE:~5,2%%DATE:~8,2%%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%
    md "D:\TestAutoDeploy\AdditionBak\%folder%"
    xcopy "D:\TestAutoDeploy\Addition" "D:\TestAutoDeploy\AdditionBak\%folder%" /e/y
    rem 清除所有目录及其所有子目录和文件
    cd /d D:\TestAutoDeploy\Addition
    rem del /s /q *
    for /F %%i in ('dir /b') do rmdir /s/q %%i
    rem rmdir /s/q %%i
     

  • 相关阅读:
    N-Queens
    Pow(x, n)
    Maximum Subarray
    Spiral Matrix
    Jump Game
    Merge Intervals
    Insert Interval
    Length of Last Word
    Spiral Matrix II
    Amazon 面经
  • 原文地址:https://www.cnblogs.com/zlfucku/p/2405404.html
Copyright © 2011-2022 走看看