wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Do not filter file names if config.filter_urls is active (!4


From: Michael Roosz
Subject: Re: wget2 | Do not filter file names if config.filter_urls is active (!482)
Date: Tue, 29 Dec 2020 22:01:27 +0000



Michael Roosz commented:


My use case (simplified) is like this:
```
wget2 \
 --recursive \
 --accept-regex "/example/" \
 --cut-dirs=1 \
 --no-host-directories \
 --cut-url-get-vars \
 --filter-urls \
 $URL
```
So basically `accept-regex` matching on the first path of the URL (/example/) 
which will not be part of the file name because of `cut-dirs=1`.

Maybe we could add another option for this, something like "--filter-urls-only" 
maybe? 
What do you think?

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/482#note_475512124
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]