Hello, people. Sorry but I found that when you do rsync to a not created destination it makes a mkdir in order to accomplish the work. The problem comes when there are some uncreated parents in the destination directories. That's just because in the builtin mkdir isn't specified the -p option. Thus, the problem is solved just adding the -p option to the built in mkdir in the code you wrote.<br>

<div class="gmail_quote"><div>
<br></div><div>Thank you very much for reading this letter.</div><div><br></div><div>Yours.</div>
</div><br><div>Greeting from Venezuela.</div>