rsync relative Hint

rsync -avR --relative --address=192.168.1.42 192.168.1.46::all/test/db/./install/test.txt /backup

install/

install/test.txt

 

Result

[192.168.1.46]

/test/db/./install/test.txt

 

[192.168.1.42]

/backup/install/test.txt