Difference between revisions of "Download File dan Web menggunakan wget"

From OnnoWiki
Jump to navigation Jump to search
Line 38: Line 38:
 
switch -c untuk meneruskan (continue) proses download / retrieve
 
switch -c untuk meneruskan (continue) proses download / retrieve
  
  wget --no-parent -r -p -U -c Mozilla http://www.everyayah.com/data/Abdurrahmaan_As-Sudais_192kbps/
+
  wget -c --no-parent -r -p -U Mozilla http://www.everyayah.com/data/Abdurrahmaan_As-Sudais_192kbps/
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 22:05, 5 May 2010

Beberapa Contoh Penggunaan wget

Download Sebuah File

Mendownload file menggunakan wget

# wget -c --limit-rate=20k url-file-yang-akan-di-download file-tujuan

contoh

# wget -c --limit-rate=20k http://opensource.telkomspeedy.com/repo/iso/JauntyRepoDVD/ubuntu-9.04-repository-i386-2_contrib.iso /home/library/iso/ubuntu-dvd-9.04/ubuntu-9.04-repository-i386-2_contrib.iso


Mengambil database SpeedyWiki

wget http://125.160.17.21/speedyorari/view.php?file=datawiki/wikidb.sql.gz -O /home/library/library/datawiki/wikidb.sql.gz 
wget http://125.160.17.21/speedyorari/view.php?file=datawiki/images.tar.gz -O /home/library/library/datawiki/images.tar.gz 


Download Recursive

wget -r <URL>
wget  -r -p -U Mozilla http://www.stupidsite.com/restricedplace.html
wget --wait=20 --limit-rate=20K -r -p -U Mozilla http://www.stupidsite.com/restricedplace.html

Supaya jangan download directory di bawahnya

--no-parent

Contoh

wget --no-parent -r -p -U Mozilla http://www.everyayah.com/data/Abdurrahmaan_As-Sudais_192kbps/


Meneruskan Download

switch -c untuk meneruskan (continue) proses download / retrieve

wget -c --no-parent -r -p -U Mozilla http://www.everyayah.com/data/Abdurrahmaan_As-Sudais_192kbps/

Pranala Menarik