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

$ mkdir ~/bin
$ cat > ~/bin/wget
#!/bin/sh

echo $* >> ~/.wget_history
/usr/bin/wget $*
^D
$ chmod 755 ~/bin/wget
$ export PATH=~/bin:$PATH

---
Charles

Reply via email to