Micah Cowan a écrit :
wget --reject="?lang=ja"
They will be downloaded, then deleted.
Downloaded, recursed, then deleted, which doesn't usually help much.
Note that if -E is specified, then it may not even delete them (because
the file's name may have changed in such a way that it no longer matches).
Indeed, according to your explanation, the --reject and --accept options
wouldn't be a solution here. And it seems it would be more useful if
those filters could be applied before a page is downloaded, rather than
after.
In fact, why is this option treated after a download? Are there cases
where it is the wanted treatment, or is it a kind of bug? If it's rather
a bug, would a patch be welcome?
Regards,
Guillaume