Jak pomoci wget stahovat jen vybrana jmena HTML souboru?

Martin 'Goran' Moravec goran na ucw.cz
Čtvrtek Únor 21 12:53:21 CET 2002


Zdravim,
zalezi jak moc presne chcete specifikovat praci, ale trivialni reseni je:

skript, kterej udela:
wget (JEN) na directory listing
zjisti existujici soubory, pokud matchuji retezci postve na ne wget,
jinak pokracuje v uvedenych podadresarich.


trivialni v perlu, ale i v bashi je to jen na << 10 radek




> Dobry den vsem,
> 
> na stahovani obsahu webu pouzivam wget. Casto vyuzivam prepinace pro 
> vyber nebo vynechani adresaru podle jejich jmen, napriklad chci stahovat 
> jen z adresare: /zdnn/news/:
> --include-directories=/zdnn/news/
> 
> Wget ovsem nema podle "wget --help" prepinac na vyber URL podle jmena 
> HTML souboru, napriklad bych si pral, aby stahnul jen jmena "clanek.php*" 
> nebo "clanek.php?3*" nebo "*microsoft*"... ;)
> 
> Nemate nekdo tip, jak to udelat pomoci wget nebo tip na jinou podobnou 
> utilitku?
> Predem diky
-- 
--
    A novice was trying to fix a broken lisp machine by turning the
power off and on.  Knight, seeing what the student was doing spoke sternly,
"You cannot fix a machine by just power-cycling it with no understanding
of what is going wrong."  Knight turned the machine off and on.  The
machine worked.			
--					Just another form of life
						Goran


Další informace o konferenci Linux