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). Have a nice day, Berny