如何将带有文件的文件夹复制到Unix/Linux中的另一个文件夹? [英] How do I copy folder with files to another folder in Unix/Linux?

查看:124
本文介绍了如何将带有文件的文件夹复制到Unix/Linux中的另一个文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将包含该文件夹中文件的文件夹复制到另一个文件夹时遇到一些问题.命令cp -r不会复制文件夹中的文件.

I am having some issues to copy a folder with files in that folder into another folder. Command cp -r doesn't copy files in the folder.

推荐答案

您要查找的选项是-R.

cp -R path_to_source path_to_destination/

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆