[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] WGET Question

From: Giuseppe Scrivano
Subject: Re: [Bug-wget] WGET Question
Date: Sat, 14 Sep 2013 11:23:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi Gary,

Gary Speaks <address@hidden> writes:

> Is there a way using the –i<file> option to force the output of each
> url in the file to a specific output.
> I tried just adding the –O option in the file and that did not work.
> I’m downloading pricing from a site for each Manufacturer part number
> and I would like to store each of these to a file labeled as the part
> number for easier reference.

no, there is no such a way but I think that it is easily scriptable
along these lines:

cat $(FILE) | while read i; do wget $i -O $(basename $i); done

(probably "basename" is not the best choice here, but it helpful to my

In future, please send such support requests to address@hidden
instead, you have the opportunity to reach a bigger audience and the
discussion can be useful to other people as well.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]