Home

wget downloader list

Awalnya sih pengen download via console/command di linux tapi secara continue dengan tidak memasukkan list download secara manual… :wub_tb:

ok dech langsung sajooo…

buat file misal dengan nama dl.sh dan isi file tersebut dengan link file yang akan di download…dengan cara :
$ nano dl.sh
isi link seperti berikut :
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41500.exe
ftp://ftp.hp.com/pub/softpaq/sp42001-42500/sp42486.exe
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41457.exe
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41462.exe
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41460.exe
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41461.exe
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41459.exe
ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41458.exe
ftp://ftp.hp.com/pub/softpaq/sp43501-44000/sp43710.exe
ftp://ftp.hp.com/pub/softpaq/sp43501-44000/sp43725.exe
ftp://ftp.hp.com/pub/softpaq/sp41501-42000/sp41949.exe

kemudian save dan beri permission agar bisa di esekusi dengan cara :
$ chmod +x dl.sh

setelah itu download file dengan perintah :
$ wget -b -c -i dl.sh

keterangan :
-b = untuk menjalankan perintah di background
-c = untuk menjalankan download secara continue/berurutan/terus menerus
-i = untuk menentukan link mana yang di download, yaitu link yang ada dalam file dl.sh

perintah tersebut akan menhasilkan file log dengan nama wget-log. di dalam file wget-log berisi kecepatan dan sudah berapa % hasil downloadnya…
contoh :
--2008-09-02 13:13:10-- ftp://ftp.hp.com/pub/softpaq/sp41001-41500/sp41500.exe
=> `sp41500.exe'
Resolving ftp.hp.com... 15.217.49.4, 15.192.45.26
Connecting to ftp.hp.com|15.217.49.4|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/softpaq/sp41001-41500 ... done.
==> SIZE sp41500.exe ... 25954384
==> PASV ... done. ==> RETR sp41500.exe ... done.
Length: 25954384 (25M)
0K .......... .......... .......... .......... .......... 0% 29.1K 14m29s
50K .......... .......... .......... .......... .......... 0% 90.6K 9m33s
100K .......... .......... .......... .......... .......... 0% 50.7K 9m7s
150K .......... .......... .......... .......... .......... 0% 55.0K 8m44s
200K .......... .......... .......... .......... .......... 0% 52.2K 8m34s
250K .......... .......... .......... .......... .......... 1% 53.4K 8m26s
300K .......... .......... .......... .......... .......... 1% 46.9K 8m29s
350K .......... .......... .......... .......... .......... 1% 50.4K 8m26s
......
......
......
24650K .......... .......... .......... .......... .......... 97% 53.7K 13s
24700K .......... .......... .......... .......... .......... 97% 53.1K 12s
24750K .......... .......... .......... .......... .......... 97% 50.2K 11s
24800K .......... .......... .......... .......... .......... 98% 54.9K 10s
24850K .......... .......... .......... .......... .......... 98% 39.2K 9s
24900K .......... .......... .......... .......... .......... 98% 30.4K 8s
24950K .......... .......... .......... .......... .......... 98% 27.1K 7s
25000K .......... .......... .......... .......... .......... 98% 28.9K 6s
25050K .......... .......... .......... .......... .......... 99% 44.0K 5s
25100K .......... .......... .......... .......... .......... 99% 52.7K 4s
25150K .......... .......... .......... .......... .......... 99% 53.1K 3s
25200K .......... .......... .......... .......... .......... 99% 51.8K 2s
25250K .......... .......... .......... .......... .......... 99% 53.7K 1s
25300K .......... .......... .......... .......... ...... 100% 40.4K=8m42s

2008-09-02 13:21:58 (48.6 KB/s) - `sp41500.exe' saved [25954384]

sekian doeloe yah…semoga bermanfaat… :thumbup_tb:

salam hangat
banksonk

Kudu diisi*

Lek Nduwe

Allowed Tags: <a href="">, <b>, <strong>, <em>, <i>, <strike>, <code> and <blockquote>

Copyright © 2012 - Greg Johnson