Results 1 to 1 of 1
I keep my laptop and desktop sync'd with rsync, but have a problem with symbolic links. The directory tree for each home directory is different since the desktop uses a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-12-2007 #1
- Join Date
- Aug 2006
rsync symbolic links with different $HOME
The problem is that symbolic links do not get transferred correctly because they use the whole tree. For example:
/data/desktop/pubs/pub1/figs --> /remote/home/desktop/imgs/figs/pub1/
but on the laptop the target should be:
Basically, I need $HOME/imgs/figs/pub1 to be the target on both systems. Is there any way to get rsync to recognize the home directory and pass the information this way, or to get the symbolic link to be stored using the $HOME variable instead of the actual directory tree?