I found a buggie

Carlos Morel Gómez La Roque carlos at nodolibre.org
Fri Sep 28 19:50:13 MDT 2012

Well, let's then add the new feature option.

2012/9/27 Matthias Schniedermeyer <ms at citd.de>

> On 26.09.2012 23:45, Carlos Morel Gómez La Roque wrote:
> > 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.
> As far as i remember this same topic came up a few years ago.
> In short: That's intentional and not a bug.
> Otherwise it's too easy to rsync to an unintended destination when you
> fat-fingered the destination.
> And it would be a deviation from established behaviour and only
> acceptable with an explicit command-line-option so that the
> default-behaviour of rsync would be unchanged.
> Bis denn
> --
> Real Programmers consider "what you see is what you get" to be just as
> bad a concept in Text Editors as it is in women. No, the Real Programmer
> wants a "you asked for it, you got it" text editor -- complicated,
> cryptic, powerful, unforgiving, dangerous.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120928/1ecf08a5/attachment.html>

More information about the rsync mailing list