Hello Cisco, Monday, August 14, 2006, 11:44:06 AM, you wrote:
> masrian wrote: >> tanya misalnya saya punya file text yang isinya kira-kira seperti ini: >> >> file download >> ========= >> http://download/file1.tar.gz >> http://download/file2.tar.gz >> http://download/file3.tar.gz >> http://download/file4.tar.gz >> dst >> >> >> terus yang jadi pertanyaan, bagaimana caranya agar saya dapat download >> file-file yang di list tadi tersebut menggunkan wget (menggunakan >> script bash atau perl) ? >> biar efektif daripada harus menambahkan perintah "wget" di setiap >> barisnya. >> >> terimakasih >> > sudah ketemu pak yang saya maksud.. > saya menggunakan perintah seperti ini: > # for a in $(cat /file/teks/yang/berisi/daftar/download); do wget -b -c > -P /tempat/direktori $a; done > terimakasih Bukannya wget ada fasilitas untuk ini ?? wget --help Logging and input file: -o, --output-file=FILE log messages to FILE. -a, --append-output=FILE append messages to FILE. -d, --debug print lots of debugging information. -q, --quiet quiet (no output). -v, --verbose be verbose (this is the default). -nv, --no-verbose turn off verboseness, without being quiet. -i, --input-file=FILE download URLs found in FILE. -F, --force-html treat input file as HTML. -B, --base=URL prepends URL to relative links in -F -i file. kalau dilihat dari ini.. ya tinggal wget -i namafile.txt Nyoman.
pgp8OmvSJYwRC.pgp
Description: PGP signature