상위 질문
타임라인
채팅
관점

Wget

웹 서버로부터 콘텐츠를 가져오는 컴퓨터 프로그램 위키백과, 무료 백과사전

Wget
Remove ads

GNU Wget(간단히 Wget, 이전 이름: Geturl)는 웹 서버로부터 콘텐츠를 가져오는 컴퓨터 프로그램으로, GNU 프로젝트의 일부이다. 이 프로그램의 이름은 월드 와이드 웹get에서 가져온 것이다. HTTP, HTTPS, FTP 프로토콜을 통해 내려받기를 지원한다.

간략 정보 개발자, 발표일 ...
Remove ads

Wget 사용법

기본 사용 예

GNU Wget의 일반적인 사용법으로는 명령 줄을 이용하여 실행하는 것으로, 하나 이상의 URL을 변수로 제공한다.

# example.com의 "index.html" 제목 페이지를
# 파일로 내려받기
wget http://www.example.com/
# GNU FTP 사이트로부터 Wget의 소스 코드 내려받기.
wget ftp://ftp.gnu.org/pub/gnu/wget/wget-latest.tar.gz

더 복잡한 예로는 여러 URL을 하나의 디렉터리 계층으로 자동 다운로드하는 방법이 있다.

# Download *.gif from a website
# (globbing, like "wget http://www.server.com/dir/*.gif", only works with ftp)
wget -e robots=off -r -l1 --no-parent -A.gif ftp://www.example.com/dir/
# Download the title page of example.com, along with
# the images and style sheets needed to display the page, and convert the
# URLs inside it to refer to locally available content.
wget -p -k http://www.example.com/
# Download the entire contents of example.com
wget -r -l 0 http://www.example.com/

고급 사용 예

wget -t 7 -w 5 --waitretry=14 --random-wait -m -k -K -e robots=off
        http://www.oreilly.com/catalog/upt3/errata/ -o ./myLog.log
wget -t 22 --waitretry=48 --wait=33 --random-wait --referer="" --user-agent=""
     --limit-rate=512k -e robots=off -o ./my_movies.log -P./movies -i ./my_movies.txt
Remove ads

밍위

Wget;는 MinGW(밍위)에 기본 내장되는 프로그램이다.[3]

같이 보기

각주

외부 링크

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads