On Fri, Aug 06, 2004 at 04:03:41PM +0700, A-Deen wrote: > maaf bila out of topic, > > saya mempelajari wget untuk download file. tapi saya belum tahu syntak untuk > mendownlad menggunakan whildchar > > seperti mau download > http://site/yang/mau/didownload/a*.jpg > > gimana syntaknya ? sudah coba dengan > #wget http://site/yang/mau/didownload/a*.jpg > > * dikenal sebagai char *, padahal maksud saya semua yang berawalan a. coba di konsol, jalankan perintah "info wget". Ternyata di manual wget yang baru tidak ada contoh-2 penggunaanya. dari bagian "Advanced Usage" ada nih:
You want to download all the GIFs from a directory on an HTTP server. You tried `wget http://www.server.com/dir/*.gif', but that didn't work because HTTP retrieval does not support globbing. In that case, use: wget -r -l1 --no-parent -A.gif http://www.server.com/dir/ More verbose, but the effect is the same. `-r -l1' means to retrieve recursively (*note Recursive Retrieval::), with maximum depth of 1. `--no-parent' means that references to the parent directory are ignored (*note Directory-Based Limits::), and `-A.gif' means to download only the GIF files. `-A "*.gif"' would have worked too. -- Program Diploma Teknik Elektro Universitas Gadjah Mada Yogyakarta http://te.pdft.ugm.ac.id/~jaya -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis.php Tidak bisa posting? Baca: http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi http://linux.or.id/wiki/index.php?pagename=TataTertibMilis