zoukankan      html  css  js  c++  java
  • cp 命令

    cp - copy files and directories
    
    用法:
           cp [OPTION]  source  dest
    
    DESCRIPTION
           Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
    
           -a   拷贝文件及属性
    
           -i, --interactive
                  prompt before overwrite (overrides a previous -n option)
    
           -l, --link
                  hard link files instead of copying
    
           -n, --no-clobber
                  do not overwrite an existing file (overrides a previous -i option)
    
           -R, -r, --recursive
                  copy directories recursively
    
           -s, --symbolic-link
                  make symbolic links instead of copying
    
           -u, --update
                  copy only when the SOURCE file is newer than the destination file or when the destination file is missing
    
           -v, --verbose
                  explain what is being done
    
    示例:
    cp source dest

    cp -a source dest
    cp -r source/ dest/

    赠人玫瑰,手有余香,如果我的文章有幸能够帮到你,麻烦帮忙点下右下角的推荐,谢谢!

    作者: imcati

    出处: https://www.cnblogs.com/imcati/>

    本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出, 原文链接

  • 相关阅读:
    第十九周作业
    第十八周作业
    第十七周作业
    第16周作业
    第15周作业
    第14周作业作业
    第13周作业
    第12周作业
    第二阶段月考
    RDB和AOF的区别
  • 原文地址:https://www.cnblogs.com/imcati/p/11379196.html
Copyright © 2011-2022 走看看