[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383)
From: |
Tim Rühsen |
Subject: |
Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383) |
Date: |
Fri, 17 Aug 2018 07:46:39 +0000 |
Just simply add `-d -o log` and, after the command is done, search for
dummy.txt in `log`.
You'll see
```
17.093908.678 *url = http://amaya.tk/wget/firstdir/pub/dummy.txt
17.093908.678 *3 http://amaya.tk/wget/firstdir/pub/dummy.txt
Adding URL: http://amaya.tk/wget/firstdir/pub/dummy.txt
17.093908.678 host_pattern[0] 'amaya.tk' - amaya.tk
17.093908.678 local filename = 'amaya.tk/wget/firstdir/pub/dummy.txt'
17.093908.678 directory[1] '*/pub' - 'wget/firstdir/pub' -
17.093908.678 directory[0] '*/pub' - 'wget/firstdir/pub' -
```
Then it should make 'click' (it did here ;-)). `*/pub` doesn't match
`wget/firstdir/pub` because we use fnmatch (file name match). `*/*/pub` would
be correct here. Both options are for directory matching, not for string
matching. I also sometimes forget that. Please put this into the docs with an
example !
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/383#note_95069194
You're receiving this email because of your account on gitlab.com.
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), (continued)
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/07
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/15
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/16
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383),
Tim Rühsen <=
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/17
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/17
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/22
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/23
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/23
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/23
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/23
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/23
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/23
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/23