Que*_*ark 41 linux rsync file-copy
为了让故事简短,我做了一个 rsync:
rsync -avP user@exampleserver.com:/tmp/
我忘了把我的源目录...
我真的想跑:
rsync -avP /tmp/ user@exampleserver.com:/tmp/
它打印了一堆文件,但我不知道它复制到哪里,因为我没有指定目的地。有谁知道发生了什么?我ls在当前文件夹上做了一个,但我没有找到任何东西。
Ant*_*hon 44
来自man rsync:
Usages with just one SRC arg and no DEST arg will list the source files
instead of copying.
Run Code Online (Sandbox Code Playgroud)
这是调用选项下面的解释,对于您来说,调用匹配:
Pull: rsync [OPTION...] [USER@]HOST::SRC... [DEST]
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5822 次 |
| 最近记录: |