Replies in-line

On Mon, Mar 3, 2008 at 6:54 AM, Charles <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 3, 2008 at 12:46 AM, shirish <[EMAIL PROTECTED]> wrote:
>  > Hi all,
>  >   I want to have a log where data is there just log of of links from
>  >  where I'm downloading some file.  Just for a random example I'm giving
>  >  http://www.cs.cmu.edu/~biglou/ESP.pdf . Now I would want a log where
>  >  it says I downloaded/tried to download a file from this URL & whether
>  >  it passed or not. Now I want to do this using .wgetrc so all of this
>  >  happens in the background while I just have to do the normal wget
>  >  <URL> , is this possible?
>
>  AFAIK, there is no wgetrc option for that. An easy solution would be
>  creating a simple wget wrapper

Hi Charles,
 First of all thanx for replying so quickly. After reading the man
page of wget I came to know there is something called .wgetrc which
can serve as a configuration file for wget.


>  $ mkdir ~/bin
>  $ cat > ~/bin/wget
>  #!/bin/sh
>
>  echo $* >> ~/.wget_history
>  /usr/bin/wget $*
>  ^D
>  $ chmod 755 ~/bin/wget
>  $ export PATH=~/bin:$PATH
>
>  ---
>  Charles

Thanx for the code but I guess this is just beyond me, I don't know
what wrappers or where this should go? Should all that code be
appeneded in /usr/bin/wget or should it be put somewhere else ?
-- 
          Regards,
          Shirish Agarwal
  This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/

065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17

Reply via email to