当您在 UNIX 中复制文件和目录树时,无论是在相同的系统中还是在通过各种类型的网络连接的不同系统之间,都可以选择使用各种各样的工具和方法。
There are a wide range of different tools and choices available to you when copy files and directory trees in UNIX, whether on the same system or between systems over any kind of network.
如果您使用 -r 命令行选项递归到其子目录中,标准的 cp 命令可用于复制整个目录树。
The standard cp command is capable of copying entire directory trees if you use the -r command-line option to recurse into subdirectories.
服务器在 /var/puppetdist 中保存显示和文件,客户端将目录树复制到 /var/puppetstage。
The server stores the manifests and files in /var/puppetdist, and clients copy that tree to /var/puppetstage.
应用推荐