Well, let's then add the new feature option.<br><br><div class="gmail_quote">2012/9/27 Matthias Schniedermeyer <span dir="ltr"><<a href="mailto:ms@citd.de" target="_blank">ms@citd.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 26.09.2012 23:45, Carlos Morel Gómez La Roque wrote:<br>
> Hello, people. Sorry but I found that when you do rsync to a not created<br>
> destination it makes a mkdir in order to accomplish the work. The problem<br>
> comes when there are some uncreated parents in the destination directories.<br>
> That's just because in the builtin mkdir isn't specified the -p option.<br>
> Thus, the problem is solved just adding the -p option to the built in mkdir<br>
> in the code you wrote.<br>
<br>
</div>As far as i remember this same topic came up a few years ago.<br>
<br>
In short: That's intentional and not a bug.<br>
<br>
Otherwise it's too easy to rsync to an unintended destination when you<br>
fat-fingered the destination.<br>
<br>
And it would be a deviation from established behaviour and only<br>
acceptable with an explicit command-line-option so that the<br>
default-behaviour of rsync would be unchanged.<br>
<br>
<br>
<br>
Bis denn<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Real Programmers consider "what you see is what you get" to be just as<br>
bad a concept in Text Editors as it is in women. No, the Real Programmer<br>
wants a "you asked for it, you got it" text editor -- complicated,<br>
cryptic, powerful, unforgiving, dangerous.<br>
<br>
</font></span></blockquote></div><br>