<div class="gmail_quote">On Wed, Dec 16, 2009 at 1:38 PM, Tony Abernethy <span dir="ltr"><<a href="mailto:tony@servasoftware.com">tony@servasoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">The existing default has saved my bacon several times.</div></div></blockquote></div><div><br></div>Yeah. I don't think I'd ever change the default, though adding an option is possible. However, there are several ways to create paths remotely with rsync now. For example:<div>
<br></div><div>mkdir -p /var/tmp/backup.$$/please/create/this/path</div><div>rsync -aivR /var/tmp/backup.$$/./please/create/this/path host:/dest/</div><div>rm -rf /var/tmp/backup.$$</div><div>rsync -aiv /src/ host:/dest/please/create/this/path/</div>
<div><br></div><div>But, admittedly, that would be a good deal easier like this (picking an option out of thin air):</div><div><br></div><div><div>rsync -aiv --create-dest-dirs /src/ host:/dest/please/create/this/path/</div>
<div><br></div>Something like that does seem fairly useful to me.</div><div><br>..wayne..<br>
</div>