rsync remote to remote problem
Hello,
I have two systems A and B. There is a file say X in system A, which consists of certain paths to different folders.
What I want to do is, read the paths of file X and copy the folders with the same path as file X from system B into system B itself but in a different location.
Well I know this sound confusing, but is there any way to do it?
I tried doing rsync in system A like
rsync -ave ssh --files-from=$fileX user@systemB:/ user@systemB:/target_location
but I am getting an rsync error stating "The source and destination cannot both be remote."
|