[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wget
Subject:    Re: file: instead of http: input?
From:       Jens =?iso-8859-1?Q?R=F6sner?= <jens.roesner () gmx ! de>
Date:       2003-04-07 8:02:57
[Download RAW message or body]

Hi Simon!

That is what I would suggest:
wget -m --base=www.yoursite.xy --force-html
--input-file=pathtoyourlocaldir
Depending on your OS, this might need quoting, I think.
Let me know if it works.

CU
Jens

Simon Rönnqvist wrote:
> 
>    Hi!
> 
> Thanks, but I think you got me wrong!?
> I'd like to have a local directory of a website to be copied with wget.
> (Sounds pointless but it'd make change the relative links to different
> files possible.)
> Isn't -i filename just for input of a list of URLs and not for input of
> an actual html-document?
> 
>    -Simon
> 
> On Monday, Apr 7, 2003, at 01:45 Europe/Helsinki, jens.roesner@gmx.de
> wrote:
> 
> > Hi Simon!
> >
> > -i filename.txt works for me.
> > More info from the docs:
> > ********************
> > -i file
> > --input-file=file
> >
> > Read URLs from file, in which case no URLs need to be on the command
> > line.
> > If there are URLs both on the command line and in an input file, those
> > on the
> > command lines will be the first ones to be retrieved.  The file need
> > not be
> > an HTML document (but no harm if it is)--it is enough if the URLs are
> > just
> > listed sequentially.
> >
> > However, if you specify --force-html, the document will be regarded as
> > html.
> >  In that case you may have problems with relative links, which you can
> > solve
> > either by adding <base href="url"> to the documents or by specifying
> > --base=url on the command line.
> > ********************
> >
> > CU
> > Jens
> >
> >
> >>   Hi!
> >>
> >> I'd need to have local files as input and the only way I've found is
> >> running them through the local webserver which I think shouldn't have
> >> to
> >> be done. file: doesn't work as in most browsers, but is there any
> >> similiar
> >> feature?
> >>
> >>   -Simon
> >> --
> >> http://simons.ownmedia.net
> >> GSM: +358-44-3539382
> >> ICQ#: 4627310
> >>
> >
> > --
> > +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> > Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic