1

I have two directories of which files are linked together with symlinks.

i.e. /directory1/files/file_a.txt to /directory1/directory2/files/file_a.txt

to symlink to eachother I build them so they are of the format ../../files/file_a.txt

The symlink is fine on my host server however not fine on my client server and is cropping the symlink to ../files/file_a.txt

meaning the full path isnt present and it is erroring.

My rsync command is

/bin/nice -n 15 /usr/bin/rsync -a -v -r --partial -ogp -l -H --delete --delay-updates --exclude=activated --exclude current/  -e "ssh -F **path to ssh config file**" $package->getDir().'/files '.$package->getDir().'/'.$package->getDate().' root@'. $client->getAddress().'::triplecast/'.$package->getId().'_'.preg_replace("/[^0-9a-zA-Z\-\'_]/", "", $package->getName()). " 

Any ideas on what might be happening

4

1 回答 1

0

事实证明,它缺少来自 root@$client->getAddress().'::triplecast/' 的正斜杠。

我现在已将其更改为

根@'。$client->getAddress().':/triplecast/'

不知道为什么会有所不同,如果您知道原因,请在下面发表评论。

于 2013-11-14T10:05:06.027 回答