the --no-directories option incorrectly documented in the man page
Bug #1930139 reported by
Bill Yikes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wget (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
man page shows:
-nd
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).
The way that's written implies that the -nd option would conflict with the -P option. But when -nd is combined with --directory-prefix (-P), wget honors the prefix and also downloads to a flat non-hierarchical "structure". The behavior is sensible but the docs are wrong (-nd does not necessarily download to the current dir).
To post a comment you must log in.