似乎rsync通常使用-a等于的标志来调用-rlptgoD (no -H,-A,-X)
-g, --group preserve group
--devices preserve device files (super-user only)
--specials preserve special files
-D same as --devices --specials
Run Code Online (Sandbox Code Playgroud)
我感到困惑的是为什么-a包含-g和-D。-g似乎什么都-D做,那你为什么要包括-D?
你错了。-g等于--group,不包括--devices或--specials。缩进并不意味着对功能进行分组,更多地将其作为一个包含 3 列的表格来阅读,其中包含短开关、长开关和描述,其中--devices和--specials没有简短的形式。
| 归档时间: |
|
| 查看次数: |
158 次 |
| 最近记录: |