bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Hello


From: Michelle Konzack
Subject: Re: [Bug-wget] Hello
Date: Sun, 18 Dec 2011 16:24:33 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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/>

address@hidden                     Jabber  address@hidden
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

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