'index.html'에 해당하는 글 1건

url 이 아래와 같이 있다고 할때,

# cat list.txt 
naver.com
daum.net
google.co.kr

 

아래 처럼 실행하면, 모든 url 다운로드를 진행하게 된다.
# cat list.txt | xargs wget -c


--2012-11-16 14:24:09-- http://naver.com/
Resolving naver.com... 220.95.233.172, 220.95.233.171, 202.131.30.11, ...
Connecting to naver.com|220.95.233.172|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.naver.com/ [following]
--2012-11-16 14:24:09-- http://www.naver.com/
Resolving www.naver.com... 202.131.30.12, 202.131.30.11
Connecting to www.naver.com|202.131.30.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

[ <=> ] 99,910 --.-K/s in 0.009s

2012-11-16 14:24:09 (10.6 MB/s) - `index.html' saved [99910]

--2012-11-16 14:24:09-- http://daum.net/
Resolving daum.net... 61.111.62.173, 110.45.215.23, 114.108.157.19, ...
Connecting to daum.net|61.111.62.173|:80... connected.
HTTP request sent, awaiting response... 302 Object Moved
Location: http://www.daum.net/ [following]
--2012-11-16 14:24:09-- http://www.daum.net/
Resolving www.daum.net... 110.45.215.15, 114.108.157.116
Connecting to www.daum.net|110.45.215.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

100%[======================================>] 144,453 --.-K/s in 0.006s

2012-11-16 14:24:09 (24.7 MB/s) - `index.html' saved [144453]

--2012-11-16 14:24:09-- http://google.co.kr/
Resolving google.co.kr... 74.125.128.94, 2404:6800:4005:c00::5e
Connecting to google.co.kr|74.125.128.94|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.google.co.kr/ [following]
--2012-11-16 14:24:09-- http://www.google.co.kr/
Resolving www.google.co.kr... 74.125.128.94, 2404:6800:4005:c00::5e
Reusing existing connection to google.co.kr:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

7% [=> ] 11,081 --.-K/s in 0.04s

2012-11-16 14:24:09 (297 KB/s) - `index.html' saved [144453]

FINISHED --2012-11-16 14:24:09--
Downloaded: 3 files, 380K in 0.05s (7.26 MB/s)

저작자 표시 비영리 동일 조건 변경 허락
신고

WRITTEN BY
김병국
유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.
secret