logo       


Re: [Feature request] accept/reject path expresion: msg#00160

Subject: Re: [Feature request] accept/reject path expresion
On Wednesday 20 April 2005 12:38 am, Oliver Schulze L. wrote:
> Hi,
> it would be nice if you could tell wget not to download a file if the URL
> matches some pattern. The pattern could be shell like or a regular
> expresion.
>
> For example, if you do a mirror of a ftp site, and you don't want to
> download
> the directories that match the "i686" pattern, you should run a command
> like this:
>
> wget -m -url-reject="*i686*" ftp://ftp.updates.distro.org/pub/
>
> Then, wget will ignore this paths:
> ftp://ftp.updates.distro.org/pub/distro1/i686/
> ftp://ftp.updates.distro.org/pub/distro2/i686/
> ftp://ftp.updates.distro.org/pub/distro3/i686/
>
> but will download this ones:
> ftp://ftp.updates.distro.org/pub/distro1/i386/
> ftp://ftp.updates.distro.org/pub/distro1/athlon/
> ftp://ftp.updates.distro.org/pub/distro2/i386/
> ftp://ftp.updates.distro.org/pub/distro2/athlon/
> ftp://ftp.updates.distro.org/pub/distro3/i386/
> ftp://ftp.updates.distro.org/pub/distro3/athlon/
>
> Since you don't have the list of all directories in the ftp site, this
> features
> can really help wget becomes a even more powerfull mirror tool.

hi oliver,

for the moment the development of wget is in feature freeze state for the 
upcoming 1.10 release. but we are considering to add regex support to wget 
1.11. stay tuned ;-)

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
Institute of Human & Machine Cognition   http://www.ihmc.us
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe