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