简体   繁体   English

cp:复制项目时省略目录'off_web'

[英]cp:omitting directory 'off_web' when I copy my project

In my computer, I want to backup the project, so I copy: 在我的计算机上,我想备份项目,所以我复制:

cp off_web off_web_bak_20171008

But it give the below error: 但它给出以下错误:

cp:omitting directory 'off_web' cp:省略目录'off_web'

You try the below command: 您尝试以下命令:

cp -r off_web off_web_bak_20171008

This error when you execute cp command means under the off_web directory, there are still have directory under the off_web, use -r will recursive copy the project. 执行cp命令时出现此错误意味着off_web目录下仍存在该目录,而off_web下仍有目录,使用-r将递归复制该项目。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用cp反复正确地将一个目录复制到新名称? - How do I use cp to copy one directory to new name repeatedly and correctly? 什么是 cp:在 Unix 中无法统计错误,当我尝试将内容从一个文件夹复制到另一个文件夹时出现此错误 - What is cp: cannot stat error in Unix, I get this error when trying to copy thing from one folder to another 如何使用cp将文件复制到与目录中一个目录名称相同的文件? - how to use cp to copy a file to to a file named the same as one directory name in a directory? 当我关闭目录列表时(htaccess / unix)如何重定向或显示页面而不是“禁止” - How to redirect or show a page rather than “Forbidden” when i have directory listings off (htaccess/unix) 无法使用cp -R命令进行复制 - Unable to copy using cp -R command OCaml:如何获取*当前模块* /项目目录的路径? - OCaml: How can I get the path to the *current module* / my project's directory? 当我尝试在Qt上构建项目时,出现错误“错误:CL / cl.h:没有这样的文件或目录” - I get the error “error: CL/cl.h: No such file or directory” when I try to build a project on Qt 使用cp(unix)复制文件,但跳过无法复制的文件 - Copy files with cp (unix) but skip files which can't copy 为什么cp无法复制/ proc / stat文件? - why cp fails to copy /proc/stat file? 复制和重命名文件-Linux cp命令 - Copy and rename files - Linux cp command
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM