That behavior is intentional. If you want to force it to create
parent directories you need to have a similar directory tree on the
source machine and use the --relative option, for example
rsync -a --relative local/bin B:/usr
- Dave
On Fri, Apr 26, 2002 at 12:52:20PM +0100, Ferguson, Dun
I have a server (A) with a directory structure I want to copy to another
server (/usr/local/bin...)
On the client (B), only /usr exists (/usr/local doesn't).
I used:
/opt/PKGrsync/bin/rsync -a --delete --force
--rsync-path=/opt/PKGrsync/bin/rsync --exclude=save -v -v /usr/local/bin
B:/usr/loca