1 개요[ | ]
- How to resume partially downloaded files in Linux with wget
- Resume an interrupted download when using Wget
- wget 이어받기
-c
옵션을 붙이면 이어받기 가능
2 실습[ | ]
- 다운로드 도중 Ctrl+C를 눌러 중단
Console
Copy
root@zetawiki:~# wget http://ftp.kaist.ac.kr/CentOS/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1511.iso
... (생략)
HTTP request sent, awaiting response... 200 OK
Length: 394264576 (376M) [application/x-iso9660-image]
Saving to: ‘CentOS-7-x86_64-NetInstall-1511.iso’
10% [=====> ] 40,536,192 12.7MB/s eta 27s
^C
- -c 옵션을 넣어 이어받기
Console
Copy
root@zetawiki:~# wget -c http://ftp.kaist.ac.kr/CentOS/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1511.iso
... (생략)
HTTP request sent, awaiting response... 206 Partial Content
Length: 394264576 (376M), 352084408 (336M) remaining [application/x-iso9660-image]
Saving to: ‘CentOS-7-x86_64-NetInstall-1511.iso’
100%[++++++======================================================>] 394,264,576 19.1MB/s in 18s
2015-12-15 13:07:21 (18.8 MB/s) - ‘CentOS-7-x86_64-NetInstall-1511.iso’ saved [394264576/394264576]
- → 이미 받은 부분은
++++
로 표시됨
- 해시값으로 원본과 동일한지 확인
Console
Copy
root@zetawiki:~# md5sum CentOS-7-x86_64-NetInstall-1511.iso
99d305fa40ec9e28ef8450c3bcc45f85 CentOS-7-x86_64-NetInstall-1511.iso
Console
Copy
root@zetawiki:~# curl -s http://ftp.kaist.ac.kr/CentOS/7/isos/x86_64/md5sum.txt | grep CentOS-7-x86_64-NetInstall-1511.iso
99d305fa40ec9e28ef8450c3bcc45f85 CentOS-7-x86_64-NetInstall-1511.iso
3 같이 보기[ | ]
4 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.