[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wildcards in -A option
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Wildcards in -A option |
Date: |
Thu, 11 Nov 2010 21:13:39 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
On 11/11/2010 03:42 PM, Robert Moskowitz wrote:
> wget -b -nv -r -l1 --no-parent -nH --cut-dirs=6 -A.iso
> http://mirrors.kernel.org/fedora/releases/13/Fedora/i386/iso/
>
> Gets all the .iso files. This includes the CD, DVD, and netinst isos.
>
> So I tried:
>
> wget -b -nv -r -l1 --no-parent -nH --cut-dirs=6 -A "disc?.iso"
> http://mirrors.kernel.org/fedora/releases/13/Fedora/i386/iso/
>
> and this only got the index.txt file
>
> What is the proper format for the -A information?
You want "*-disc?.iso" or similar.
-A only matches suffixes when it doesn't contain any wildcards;
otherwise, it must match the whole base filename.
--
Micah J. Cowan
http://micah.cowan.name/