From: Pekar

> -r doesn't work in combination with -O - (and pipe):

   "wget -r" expects to read the files which it downloads, so it can
find (and follow) the links inside them.  With "-O", all the output goes
to one place, which makes normal "-r" operation impossible.

   If "wc -l" on everything is all you want, you could probably use a
normal "wget -r", then a combination of "find", "cat", and "wc" (and
"rm").  Perhaps something like (untested):

      wget -q -r http://host_name
      find host_name ! -type d -exec cat {} \; | wc -l
      rm -r host_name

------------------------------------------------------------------------

   Steven M. Schweda               [EMAIL PROTECTED]
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547

Reply via email to