Hi,
I would like to reproduce the relative-path from Source to Destination when syncing some dirs.
This seems possible with -R.
However -R also reproduces the /cygwin/-part that is needed to support local drivers in Windows.
How can I achieve this without creating this \cygwin\ on my Destination?
Thanks,
Erwin
???
Aha, first a change-dir and then rsync without referencing to /cygdrive/c. That might work.
I found a solution by using --files-from=FILE. With this one the dirs will be replicated only to the level as specified in FILE. Like:
rsync -rav --files-from=/cygdrive/c/file.txt /cygdrive/c remote::tmp
With file.txt containing: /my-path-to-be-replicated
Thanks,
Erwin