wget usage question

Taavi Burns taavi-LbuTpDkqzNzXI80/IeQp7B2eb7JE58TQ at public.gmane.org
Fri Apr 16 15:41:41 UTC 2004


On Fri, Apr 16, 2004 at 01:47:32AM -0400, William Park wrote:
> On Fri, Apr 16, 2004 at 12:14:41AM -0400, Walter Dnes wrote:
> >   I've pulled down the files in cfaj.freeshell.org/tlug  ...the hard
> > way.  So this question is academic today, but I'd like to know the
> > correct answer in future.  I initially tried ftp, but couldn't access
> > the tlug directory.  Then I tried wget, specifically...
> > 
> > wget -r --ignore-length cfaj.freeshell.org/tlug
> > 
> >   But wget missed abunch of files, especially in funcs, and I noticed
> > that it was starting to wander into unrelated directories, so I killed
> > it.  How should I have done it ?  Thanks in advance.

To keep the wandering down, add the -np flag ("no parent").  That will keep
it from creeping up to the rest of the site.

-- 
taa

   There is no worse tyranny than to force a man to pay for what
   he does not want merely because you think it would be good for him.
      - Robert A. Heinlein
/*eof*/
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list