I have a large amount of data to copy to a new server. On the current server there are a number of symlinked directories which I would like transformed to real directories on the new server.
For example, I have /foo/bar --> /other/place on the old server but I would like to have all data under /other/place located in /newfoo/bar on the new server. (Yes the top level directory is changing its name as well...)
Using rsync I have tried -L, -l, -K, -k and various combinations and permutations but nothing seems to result in the transformation I require.
All thoughts gratefully received.