다운로드 전문가
curl 이 스위스 군용 칼이면 wget 은 낚싯대 — 파일 다운로드 전용. 두 킬러 기능 — 끊긴 다운로드 native resume (-c), 웹사이트 전체 재귀 mirror. macOS 디폴트 X 지만 brew 한 줄.
~10 min · wget, download, mirror
curl 이 스위스 군용 칼이면 wget 은 낚싯대 — 파일 다운로드 전용. 두 킬러 기능 — 끊긴 다운로드 native resume (-c), 웹사이트 전체 재귀 mirror. macOS 디폴트 X 지만 brew 한 줄.
# Install on macOS
brew install wget
# Simple download
wget https://example.com/file.tar.gz
# Save with a different filename
wget -O custom-name.tar.gz https://example.com/file.tar.gz
# Resume an interrupted download
wget -c https://example.com/large-file.iso
# Quiet (good in scripts)
wget -q https://example.com/file.tar.gz
# Mirror a documentation site
wget --mirror --convert-links --page-requisites \
--no-parent https://example.com/docs/Task | Preferred
-------------------------+----------
Download one file | wget (-c resumes natively)
API request | curl (more flexible)
Mirror a site | wget (built-in recursion)
Custom headers/methods | curl
Resume interrupted DL | both (wget -c, curl -C -)wget https://speed.hetzner.de/100MB.bin. 중간 Ctrl+C 로 끊고, -c 와 함께 다시 실행 (wget -c https://...) — resume 봐. 비교 — curl -C - -O https://... 같은 거 시도. 둘 다 동작; wget 이 이 사용 사례에 약간 더 깔끔해.아직 댓글이 없어요. 첫 댓글을 남겨보세요.