The only way is a script which does:

----8<--------------------------------------------
(cat ${INPUTFILE} ; echo) |
while read LINE
do
  SOURCE=$(echo "${LINE}" |cut -d '     ' -f1)
  TARGET=$(echo "${LINE}" |cut -d '     ' -f2)

  wget ${OPTS} -O "${TARGET}" "${SOURCE}"
done
----8<--------------------------------------------

and ${INPUTFILE} is

----8<--------------------------------------------
http://example.com/file1        1elif
http://example.net/file2        2elif
http://example.ort/file3        3elif
----8<--------------------------------------------

which mean, a <TAB> seperated list with the second column as the  output
file.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux
               Internet Service Provider, Cloud Computing
                <http://www.itsystems.tamay-dogan.net/>

itsystems@tdnet                     Jabber  [email protected]
Owner Michelle Konzack

Gewerbe Strasse 3                   Tel office: +49-176-86004575
77694 Kehl                          Tel mobil:  +49-177-9351947
Germany                             Tel mobil:  +33-6-61925193  (France)

USt-ID:  DE 278 049 239

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature

Reply via email to