您好,欢迎来到画鸵萌宠网。
搜索
您的当前位置:首页tldr 命令 很强大

tldr 命令 很强大

来源:画鸵萌宠网

pip install tldr 就可以按照啦

  Copy files and directories.                                                                                                                                            
                                                                                                                                                                         
- Copy a file to another location:                                                                                                                                       
                                                                                                                                                                         
  cp path/to/file.ext path/to/copy.ext                                                                                                                                   
                                                                                                                                                                         
- Copy a file into another directory, keeping the filename:                                                                                                              
                                                                                                                                                                         
  cp path/to/file.ext path/to/target_parent_directory                                                                                                                    
                                                                                                                                                                         
- Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it):                                            
                                                                                                                                                                         
  cp -r path/to/directory path/to/copy                                                                                                                                   
                                                                                                                                                                         
- Copy a directory recursively, in verbose mode (shows files as they are copied):                                                                                        
                                                                                                                                                                         
  cp -vr path/to/directory path/to/copy                                                                                                                                  
                                                                                                                                                                         
- Copy text files to another location, in interactive mode (prompts user before overwriting):                                                                            
                                                                                                                                                                         
  cp -i *.txt path/to/target_directory    

  

转载于:https://www.cnblogs.com/cbywan/p/11516207.html

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo8.com 版权所有 湘ICP备2023022238号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务