[英]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.