zoukankan      html  css  js  c++  java
  • dos xcopy使用

    XCOPY

    Copies files and directory trees.
    
    XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
                               [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
                               [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
                               [/EXCLUDE:file1[+file2][+file3]...]

    /D:m-d-y Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time.
    /-Y Causes prompting to confirm you want to overwrite an existing destination file.

    1 Copy new and newer files only

    Description
    XCOPY’s /D option makes sure that only new and newer files will be copied.
    source can be a file mask e.g.: *.*, my*.*, my*.log, directory\*.*
    destination can be a directory e.g.: ., directory
    Code
    xcopy "%source%" "%destination%" /D /Y



  • 相关阅读:
    跨域处理
    intellij idea远程调试
    sring boot特性
    spring mvc与struts2的区别
    jenkins集成sonar
    hibernate笔记
    python脚本
    python 字符框
    python操作
    python环境配置
  • 原文地址:https://www.cnblogs.com/youxin/p/2592006.html
Copyright © 2011-2022 走看看