我一直没有得到这样的文件或目录错误:
rysnc -avh -e `ssh -p 2346` --link-dest=user@remote:home/user/techapps/backup user@remote:/home/user/techapps/target
这可能吗?或者我只是写错了?
当然,由于目标是硬链接,因此显然需要目标路径,并且link-dest路径都存在于同一文件系统中.
–link-dest=DIR … If DIR is a relative path,it is relative to the destination directory.
–link-dest=DIR
…
If DIR is a relative path,it is relative to the destination directory.