
























2 AllenHua 2021 年 8 月 13 日 via iPhone另外还有一点比较值得注意,同步文件时,假如 source 是一个文件夹,那么最后一个文件夹带不带斜杠在同步到目标路径后会有一些区别。 情形 1: rsync -a /file/source/path1 /file/destination/path2 情形 1 中,最终在 path2 中行程的文件结构是 /file/destination/path2/path1 情形 2: rsync -a /file/source/path1/ /file/destination/path2 情形 2 中,最终将 path1 文件夹里面的所有文件都拷贝到了 path2 中。 https://hellodk.cn/post/591 ( openwrt 通过 opkg 安装 rsync | rsync 基本用法介绍教程) |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。