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.
Thank you very much for reading this letter. Yours. Greeting from Venezuela.
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html