Hi Gary,

Gary Speaks <[email protected]> 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
example)

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

Cheers,
Giuseppe

Reply via email to