如何将目录复制到使用bash安装的目录中?
假设嵌套目录foo/bar和空目录dest 。 我想调用一些像install foo dest这样的dest包含目录foo/bar 。
我已经尝试了以下内容:
install foo dest => install:省略目录“foo”
install -d foo dest =>没有任何反应
你想用cp -r来代替:
cp -r foo dest
链接地址: http://www.djcxy.com/p/16313.html
上一篇: How to copy directories into a directory using install in bash?
