On Tue, 2007-09-04 at 17:04 +0700, K0M4N6 wrote: > Halo linuxer, > Saya mau tanya webcopier yang jalan under linux dan command base, > Ada nggak ya? > Kalau di saya di windows saya pakai WinHTTrack, > untuk versi linux biasanya pake apa ya? > kalau bisa cukup ekesekusi commandnya dari console. > kalau ada yang pernah pake tolong di share ya.... >
coba pake wget, utk niru WinHTTrackmu bisa copy paste script berikut ini.(thanks to xantorohara) Misal, nama scriptmu LinHTTrack.sh :-) Bikin file dulu $ vi LinHTTrack.sh ---------------------------------------- #!/bin/bash if test -z "$1"; then echo "Linux Web Copier." echo "Usage: echo $0 <target URL>" exit fi DATE=`date +%Y.%m.%d_%H.%M.%S.%N` LOG=~/`basename $0`-$DATE.log touch $LOG if test ! -w "$LOG"; then LOG=/dev/stdout fi wget --continue --recursive --no-parent --relative --convert-links $1 |tee $LOG ---------------------------------------- Bikin scriptmu executable $chmod +x LinHTTrack.sh Contoh cara pemakaiannya: Katakanlah kamu ingin mencopy http://www.w3.org/TR/xhtml11 maka perintahnya: $./LinHTTrack.sh http://www.w3.org/TR/xhtml11 Mudah bukan? -- /yoss/ <[EMAIL PROTECTED]> AIT-IT
signature.asc
Description: This is a digitally signed message part