Hy,
I found a bug with the option -X in recursive mode. When i use a wildcard, in the exclude string, it's only works for one level string.
For example:
for this directory architecture :
server:
=>level1
=> Data
=> level2
=> Data
wget -X "*/Data" -r http://server/level1/
works correctly for exclude directory Data
but don't exclude the Data directory in level2
The bug come from the fnmatch function.
I correct it for me in the utils.c file with deactivate the flag FNM_PATHNAME in the proclist() function.
Is it the right comportment?
I hope its help
Excuse me for my English
Antoine Bonnefoy
France
- Exclude directorie Antoine Bonnefoy
- Re: Exclude directorie Mauro Tortonesi
