[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnulib-tool: Fallback to wget when rsync fails
From: |
Ben Pfaff |
Subject: |
Re: [PATCH] gnulib-tool: Fallback to wget when rsync fails |
Date: |
Tue, 2 Sep 2014 08:17:06 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Sep 02, 2014 at 05:15:16PM +0200, Bernhard Voelker wrote:
> On 09/02/2014 05:06 PM, Ben Pfaff wrote:
> >Looking at wget(1), I'm a little surprised that the selected options
> >appear to avoid clobbering files whose names conflict. I would have
> >expected that we'd want to overwrite them, to get the fresher version.
> >But the existing wget invocation does the same thing, so maybe it's
> >intentional?
>
> clobbering is implicitly disabled with the -nd option:
>
> -nd
> --no-directories
> Do not create a hierarchy of directories when retrieving
> recursively. With this option turned on, all files will
> get saved to the current directory, without clobbering (if
> a name shows up more than once, the filenames will get
> extensions .n).
Yes. As I said, I'm a little surprised that the selected options appear
to avoid clobbering files whose names conflict.