Example:

$ wget -c -v -k -r -np --level=1 -A program-*.tar.gz
http://program-location.com/repository

The above assumes /repository does not have index.html or index.htm.
Otherwise, wget will not get the files that you need.

Note that there are cases I know that wget can ignore
index.htm/index.html and get the files still.

Change to suit your needs.

-- 
regards,
Andre | http://www.varon.ca

On 6/15/07, Ramil Galib <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> I want to download a file which changes over time (due to upgrades) on the
> command line.
> I use
>     wget -A 'program-<whatever new version here>.tar.gz'
> http://program-location.com/repository/
> When there is a new version, I intend to use
>     wget -A 'program-*.tar.gz'
> http://program-location.com/repository/
> But I was not successful.
> Any help?
>
> Thank you very much.
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to