|
Re: lug-bg: grep, sed, cut , sh, awk scripting
- Subject: Re: lug-bg: grep, sed, cut , sh, awk scripting
- From: kleo@xxxxxxxxxxx (Kliment Ognianov)
- Date: Mon, 17 Sep 2001 09:26:59 +0300
George Danchev wrote:
>az pak imam edin "slab" vupros :
>imam txt file sys slednoto sydyrzhanie:
>/bla/file.tar.gz
>/fgfg/dfdf.tar.gz
>..............
>
>kak da zacyklq wget da iztegli tezi files edin po edin ot
>ftp://ftp.serv.org/path/to/files
>demek da my podavam posledovatelno URL-tata:
>ftp://ftp.serv.org/path/to/files/bla/file.tar.gz
>ftp://ftp.serv.org/path/to/files/fgfg/dfdf.tar.gz
>..................................
>pozvoleni programni sredstva sa goreizbroenite
>
>10x
>===========================================================================
>A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
>http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>
>
#!/bin/sh
FILES=`cat your_file.txt`
white true
{
for FILE in $FILES do
{
wget -v -N ......<kakFoto si iskash> $FILE
}
}
--
.............................................
: Kliment Ognianov :
: Junior System Administrator & Developer :
: ISP Networks Department :
: BulInfo Ltd. :
:...........................................:
: ICQ #16864572, #64866894 :
:...........................................:
: http://www.bulinfo.net/ :
.............................................
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|