11.Nas_1


wget -help




컨텐츠 정보


본문

root @ AOL-Debian : ~ # wget -help

비대화 형 네트워크 검색 프로그램 인 GNU Wget 1.16.

사용법 : wget [OPTION] ... [URL] ...


짧은 옵션에도 긴 옵션에 대한 필수 인수가 필수입니다.


시작 :

  -V, --version Wget의 버전을 표시하고 종료합니다.

  -h, --help이 도움말을 출력합니다.

  -b, --background는 기동 후에 백그라운드로 간다.

  -e, --execute =`.wgetrc '형식의 명령을 실행합니다.


로깅 및 입력 파일 :

  -o, --output-file = FILE은 FILE에 메세지를 기록합니다.

  -a, --append-output = FILE은 FILE에 메시지를 추가합니다.

  -d, --debug는 많은 디버깅 정보를 출력합니다.

  -q, - quiet quiet (출력 없음).

  -v, --verbose verbose (기본값)입니다.

  -nv, --no-verbose 조용하지 않고 verboseness를 끄십시오.

       --report-speed = TYPE 대역폭을 TYPE으로 출력합니다. TYPE은 비트 일 수 있습니다.

  -i, --input-file = FILE 로컬 또는 외부 파일에있는 URL을 다운로드합니다.

  -F, --force-html 입력 파일을 HTML로 취급합니다.

  -B, --base = URL은 HTML 입력 파일 링크를 해결합니다 (-i -F).

                                   URL을 기준으로

       --config = FILE 사용할 설정 파일을 지정하십시오.

       --no-config 설정 파일을 읽지 않습니다.


다운로드 :

  -t, --tries = NUMBER 번 다시 시도 횟수 설정 (NUMBER) (0 제한 없음).

       --retry-connrefused는 연결이 거부 된 경우에도 다시 시도합니다.

  -O, --output-document = FILE은 문서를 FILE에 씁니다.

  -nc, --no-clobber는 다운로드를 건너 뜁니다.

                                   기존 파일을 덮어 씁니다.

  -c, - 부분적으로 다운로드 한 파일을 다시 계속받습니다.

       --start-pos = OFFSET은 0 기준 위치 OFFSET에서 다운로드를 시작합니다.

       - 진행 = TYPE 진행 상태 게이지 유형을 선택하십시오.

       --show-progress 모든 상세 모드로 진행률 막대를 표시합니다.

  -N, --timestamping보다 새로운 파일을 다시 검색하지 않는다.

                                   노동 조합 지부.

  --no-use-server-timestamps는 로컬 파일의 타임 스탬프를 다음과 같이 설정하지 않습니다.

                                   하나는 서버에 있습니다.

  -S, --server-response 프린트 서버 응답.

       --spider는 아무것도 다운로드하지 않습니다.

  -T, --timeout = SECONDS는 모든 타임 아웃 값을 SECONDS로 설정합니다.

       --dns-timeout = SECS는 DNS 조회 시간 초과를 SECS로 설정합니다.

       --connect-timeout = SECS는 연결 타임 아웃을 SECS로 설정합니다.

       --read-timeout = SECS는 읽기 타임 아웃을 SECS로 설정합니다.

  -w, --wait = SECONDS는 검색간에 SECONDS를 대기합니다.

       --waitretry = SECONDS wait 1. 검색 재 시도 사이의 .SECONDS.

       --random-wait 대기 0.5에서 * WAIT ... 1.5 * WAIT 검색 사이 초.

       --no-proxy는 명시 적으로 프록시를 해제합니다.

  -Q, --quota = NUMBER는 검색 할당량을 NUMBER로 설정합니다.

       --bind-address = 로컬 호스트의 ADDRESS (호스트 이름 또는 IP)에 ADDRESS 바인드.

       --limit-rate = 다운로드 속도를 RATE로 제한합니다.

       --no-dns-cache 캐싱 DNS 검색을 사용하지 않습니다.

       --restrict-file-names = OS는 OS가 허용하는 문자로 파일 이름의 문자를 제한합니다.

       --ignore-case는 파일 / 디렉토리가 일치 할 때 대소 문자를 무시합니다.

  -4, --inet4-IPv4 주소에만 연결합니다.

  -6, --inet6 - IPv6 주소에만 연결합니다.

       --prefer-family = FAMILY 먼저 지정된 패밀리의 주소에 연결하고,

                                   IPv6, IPv4 또는 none 중 하나입니다.

       --user = USER ftp 및 http 사용자를 모두 USER로 설정합니다.

       --password = PASS ftp와 http password를 PASS로 설정하십시오.

       암호를위한 --ask-password 프롬프트.

       - ~ iri는 IRI 지원을 끕니다.

       --local-encoding = ENC는 ENC를 IRI의 로컬 인코딩으로 사용합니다.

       --remote-encoding = ENC는 ENC를 기본 원격 인코딩으로 사용합니다.

       --unlink는 clobber 전에 파일을 제거합니다.


디렉토리 :

  -nd, --no-directories는 디렉토리를 생성하지 않습니다.

  -x, --force-directories는 디렉토리 생성을 강제합니다.

  -nH, --no-host-directories는 호스트 디렉토리를 생성하지 않습니다.

       --protocol-directories는 디렉토리에서 프로토콜 이름을 사용합니다.

  -P, --directory-prefix = PREFIX 파일을 PREFIX / ...에 저장합니다.

       --cut-dirs = NUMBER는 NUMBER 개의 원격 디렉토리 구성 요소를 무시합니다.


HTTP 옵션 :

       --http-user = USER http 사용자를 USER로 설정합니다.

       --http-password = PASS는 http 암호를 PASS로 설정합니다.

       --no-cache는 서버 캐시 데이터를 허용하지 않습니다.

       --default-page = NAME 기본 페이지 이름을 변경합니다 (일반적으로

                                   이것은`index.html '입니다.).

  -E, --adjust-extension 적절한 확장자로 HTML / CSS 문서를 저장합니다.

       --ignore-length는`Content-Length '헤더 필드를 무시합니다.

       --header = STRING 헤더 사이에 STRING을 삽입하십시오.

       --max - 페이지 당 허용되는 최대 리디렉션을 리디렉션합니다.

       --proxy-user = USER USER를 프록시 사용자 이름으로 설정합니다.

       --proxy-password = PASS는 PASS를 프록시 비밀번호로 설정합니다.

       --referer = URL은 HTTP 요청에`Referer : URL '헤더를 포함합니다.

       --save-headers는 HTTP 헤더를 파일에 저장합니다.

  -U, --user-agent = AGENT는 Wget / VERSION 대신 AGENT로 식별합니다.

       --no-http-keep-alive HTTP 연결 유지 (영구 연결)를 비활성화합니다.

       --no-cookies는 쿠키를 사용하지 않습니다.

       --load-cookies = FILE 세션 이전에 FILE의 쿠키를로드합니다.

       --save-cookies = FILE 세션 이후에 쿠키를 FILE에 저장합니다.

       --keep-session-cookies 세션 (비 영구적) 쿠키를로드하고 저장합니다.

       --post-data = STRING은 POST 메소드를 사용합니다. STRING을 데이터로 보냅니다.

       --post-file = FILE은 POST 메소드를 사용합니다; FILE의 내용을 보냅니다.

       --method = HTTPMethod는 요청에 "HTTPMethod"메소드를 사용합니다.

       --body-data = STRING STRING을 데이터로 보냅니다. --method를 반드시 설정해야합니다.

       --body-file = FILE FILE의 내용을 보냅니다. --method를 반드시 설정해야합니다.

       --content-disposition은 Content-Disposition 헤더를 존중합니다.

                                   로컬 파일 이름 선택 (실험적).

       --content-on-error는 수신 된 내용을 서버 오류에 출력합니다.

       --auth-no-challenge send 기본 HTTP 인증 정보

                                   먼저 서버를 기다리지 않고

                                   도전.


HTTPS (SSL / TLS) 옵션 :

       --secure-protocol = PR 보안 프로토콜을 선택합니다 (자동, SSLv2,

                                   SSLv3, TLSv1 및 PFS.

       --https - 보안 HTTPS 링크 만 따르기

       --no-check-certificate는 서버 인증서를 검증하지 않습니다.

       --certificate = FILE 클라이언트 인증서 파일.

       --certificate-type = TYPE 클라이언트 인증서 유형, PEM 또는 DER.

       --private-key = FILE 개인용 키 파일.

       --private-key-type = TYPE 개인 키 유형, PEM 또는 DER.

       --ca-certificate = CA의 번들이있는 FILE 파일.

       --ca-directory = CA의 해쉬리스트가 저장된 DIR 디렉토리.

       --random-file = SSL PRNG를 파기하기위한 랜덤 데이터가있는 FILE 파일.

       --egd-file = 임의의 데이터로 EGD 소켓을 명명하는 FILE 파일.


FTP 옵션 :

       --ftp-user = USER ftp 사용자를 USER로 설정합니다.

       --ftp-password = PASS ftp password를 PASS로 설정하십시오.

       --no-remove-listing는`.listing '파일을 제거하지 않습니다.

       --no-glob는 FTP 파일 이름 globbing을 끕니다.

       --no-passive-ftp "수동"전송 모드를 비활성화합니다.

       --preserve-permissions는 원격 파일 사용 권한을 보존합니다.

       반복 할 때 --retr-symlinks는 링크 된 파일을 가져옵니다 (dir이 아님).


WARC 옵션 :

       --warc-file = FILENAME 요청 / 응답 데이터를 .warc.gz 파일에 저장합니다.

       --warc-header = STRING은 STRING을 warcinfo 레코드에 삽입합니다.

       --warc-max-size = NUMBER는 WARC 파일의 최대 크기를 NUMBER로 설정합니다.

       --warc-cdx CDX 색인 파일을 작성하십시오.

       --warc-dedup = FILENAME은이 CDX 파일에 나열된 레코드를 저장하지 않습니다.

       --no-warc-compression은 GZIP로 WARC 파일을 압축하지 않습니다.

       --no-warc-digests는 SHA1 다이제스트를 계산하지 않습니다.

       --no-warc-keep-log는 로그 파일을 WARC 레코드에 저장하지 않습니다.

       --warc-tempdir = 임시 파일이 생성 된 DIRECTORY 위치

                                   WARC 작가.


재귀 적 다운로드 :

  -r, - recursive 재귀 적 다운로드를 지정합니다.

  -l, --level = NUMBER 최대 재귀 깊이 (inf 또는 무한대의 경우 0).

       --delete-after 파일을 다운로드 한 후 로컬에서 삭제합니다.

  -k, --convert-links는 다운로드 된 HTML이나 CSS에서 링크를 가리킨다.

                                   로컬 파일.

       --backups = N 파일을 작성하기 전에 N 개의 N 개의 백업 파일을 회전합니다.

  -K, - X 파일을 변환하기 전에 백업 변환, X.orig로 백업.

  -m, - -N -r -l inf -no-remove-listing에 대한 mirror 바로 가기.

  -p, --page-requisites는 HTML 페이지를 표시하는 데 필요한 모든 이미지 등을 얻습니다.

       --strict-comments는 HTML 주석의 엄격한 처리 (SGML)를 켭니다.


재귀 적 수용 / 거부 :

  -A, --accept = 쉼표로 구분 된 LIST의 목록.

  -R, --reject = LIST 쉼표로 구분 된 거부 된 확장 목록입니다.

       --accept-regex = 허용 된 URL을 정규 표현하는 REGEX 정규 표현식.

       --reject-regex = 거부 된 URL과 일치하는 REGEX 정규 표현식.

       --regex-type = TYPE 정규식 타입 (posix).

  -D, --domains = LIST 허용 도메인의 쉼표로 구분 된 목록.

       --exclude-domains = 거부 된 도메인 목록을 쉼표로 구분하여 나열합니다.

       --follow-ftp는 HTML 문서의 FTP 링크를 따릅니다.

       --follow-tags = 쉼표로 구분 된 HTML 태그 목록.

       --ignore-tags = 쉼표로 구분 된 무시 된 HTML 태그의 목록.

  -H, --span-hosts는 재귀 적으로 외국 호스트로갑니다.

  -L, --relative는 상대 링크만을 따른다.

  -I, --include-directories = 허용 된 디렉토리리스트.

       --trust-server-names는 리디렉션에 지정된 이름을 사용합니다.

                                   url 마지막 구성 요소.

  -X, --exclude-directories = 제외 된 디렉토리 목록을 나열합니다.

  -np, --no-parent는 상위 디렉토리로 오르지 않습니다.


버그 리포트 및 제안 사항을 < bug-wget@gnu.org>로 보냅니다.

root @ AOL-Debian : ~ #

===== 영어 원본 ===

root@AOL-Debian:~# wget -help

GNU Wget 1.16, a non-interactive network retriever.

Usage: wget [OPTION]... [URL]...


Mandatory arguments to long options are mandatory for short options too.


Startup:

  -V,  --version                   display the version of Wget and exit.

  -h,  --help                      print this help.

  -b,  --background                go to background after startup.

  -e,  --execute=COMMAND           execute a `.wgetrc'-style command.


Logging and input file:

  -o,  --output-file=FILE          log messages to FILE.

  -a,  --append-output=FILE        append messages to FILE.

  -d,  --debug                     print lots of debugging information.

  -q,  --quiet                     quiet (no output).

  -v,  --verbose                   be verbose (this is the default).

  -nv, --no-verbose                turn off verboseness, without being quiet.

       --report-speed=TYPE         Output bandwidth as TYPE.  TYPE can be bits.

  -i,  --input-file=FILE           download URLs found in local or external FILE.

  -F,  --force-html                treat input file as HTML.

  -B,  --base=URL                  resolves HTML input-file links (-i -F)

                                   relative to URL.

       --config=FILE               Specify config file to use.

       --no-config                 Do not read any config file.


Download:

  -t,  --tries=NUMBER              set number of retries to NUMBER (0 unlimits).

       --retry-connrefused         retry even if connection is refused.

  -O,  --output-document=FILE      write documents to FILE.

  -nc, --no-clobber                skip downloads that would download to

                                   existing files (overwriting them).

  -c,  --continue                  resume getting a partially-downloaded file.

       --start-pos=OFFSET          start downloading from zero-based position OFFSET.

       --progress=TYPE             select progress gauge type.

       --show-progress             display the progress bar in any verbosity mode.

  -N,  --timestamping              don't re-retrieve files unless newer than

                                   local.

  --no-use-server-timestamps       don't set the local file's timestamp by

                                   the one on the server.

  -S,  --server-response           print server response.

       --spider                    don't download anything.

  -T,  --timeout=SECONDS           set all timeout values to SECONDS.

       --dns-timeout=SECS          set the DNS lookup timeout to SECS.

       --connect-timeout=SECS      set the connect timeout to SECS.

       --read-timeout=SECS         set the read timeout to SECS.

  -w,  --wait=SECONDS              wait SECONDS between retrievals.

       --waitretry=SECONDS         wait 1..SECONDS between retries of a retrieval.

       --random-wait               wait from 0.5*WAIT...1.5*WAIT secs between retrievals.

       --no-proxy                  explicitly turn off proxy.

  -Q,  --quota=NUMBER              set retrieval quota to NUMBER.

       --bind-address=ADDRESS      bind to ADDRESS (hostname or IP) on local host.

       --limit-rate=RATE           limit download rate to RATE.

       --no-dns-cache              disable caching DNS lookups.

       --restrict-file-names=OS    restrict chars in file names to ones OS allows.

       --ignore-case               ignore case when matching files/directories.

  -4,  --inet4-only                connect only to IPv4 addresses.

  -6,  --inet6-only                connect only to IPv6 addresses.

       --prefer-family=FAMILY      connect first to addresses of specified family,

                                   one of IPv6, IPv4, or none.

       --user=USER                 set both ftp and http user to USER.

       --password=PASS             set both ftp and http password to PASS.

       --ask-password              prompt for passwords.

       --no-iri                    turn off IRI support.

       --local-encoding=ENC        use ENC as the local encoding for IRIs.

       --remote-encoding=ENC       use ENC as the default remote encoding.

       --unlink                    remove file before clobber.


Directories:

  -nd, --no-directories            don't create directories.

  -x,  --force-directories         force creation of directories.

  -nH, --no-host-directories       don't create host directories.

       --protocol-directories      use protocol name in directories.

  -P,  --directory-prefix=PREFIX   save files to PREFIX/...

       --cut-dirs=NUMBER           ignore NUMBER remote directory components.


HTTP options:

       --http-user=USER            set http user to USER.

       --http-password=PASS        set http password to PASS.

       --no-cache                  disallow server-cached data.

       --default-page=NAME         Change the default page name (normally

                                   this is `index.html'.).

  -E,  --adjust-extension          save HTML/CSS documents with proper extensions.

       --ignore-length             ignore `Content-Length' header field.

       --header=STRING             insert STRING among the headers.

       --max-redirect              maximum redirections allowed per page.

       --proxy-user=USER           set USER as proxy username.

       --proxy-password=PASS       set PASS as proxy password.

       --referer=URL               include `Referer: URL' header in HTTP request.

       --save-headers              save the HTTP headers to file.

  -U,  --user-agent=AGENT          identify as AGENT instead of Wget/VERSION.

       --no-http-keep-alive        disable HTTP keep-alive (persistent connections).

       --no-cookies                don't use cookies.

       --load-cookies=FILE         load cookies from FILE before session.

       --save-cookies=FILE         save cookies to FILE after session.

       --keep-session-cookies      load and save session (non-permanent) cookies.

       --post-data=STRING          use the POST method; send STRING as the data.

       --post-file=FILE            use the POST method; send contents of FILE.

       --method=HTTPMethod         use method "HTTPMethod" in the request.

       --body-data=STRING          Send STRING as data. --method MUST be set.

       --body-file=FILE            Send contents of FILE. --method MUST be set.

       --content-disposition       honor the Content-Disposition header when

                                   choosing local file names (EXPERIMENTAL).

       --content-on-error          output the received content on server errors.

       --auth-no-challenge         send Basic HTTP authentication information

                                   without first waiting for the server's

                                   challenge.


HTTPS (SSL/TLS) options:

       --secure-protocol=PR        choose secure protocol, one of auto, SSLv2,

                                   SSLv3, TLSv1 and PFS.

       --https-only                only follow secure HTTPS links

       --no-check-certificate      don't validate the server's certificate.

       --certificate=FILE          client certificate file.

       --certificate-type=TYPE     client certificate type, PEM or DER.

       --private-key=FILE          private key file.

       --private-key-type=TYPE     private key type, PEM or DER.

       --ca-certificate=FILE       file with the bundle of CA's.

       --ca-directory=DIR          directory where hash list of CA's is stored.

       --random-file=FILE          file with random data for seeding the SSL PRNG.

       --egd-file=FILE             file naming the EGD socket with random data.


FTP options:

       --ftp-user=USER             set ftp user to USER.

       --ftp-password=PASS         set ftp password to PASS.

       --no-remove-listing         don't remove `.listing' files.

       --no-glob                   turn off FTP file name globbing.

       --no-passive-ftp            disable the "passive" transfer mode.

       --preserve-permissions      preserve remote file permissions.

       --retr-symlinks             when recursing, get linked-to files (not dir).


WARC options:

       --warc-file=FILENAME        save request/response data to a .warc.gz file.

       --warc-header=STRING        insert STRING into the warcinfo record.

       --warc-max-size=NUMBER      set maximum size of WARC files to NUMBER.

       --warc-cdx                  write CDX index files.

       --warc-dedup=FILENAME       do not store records listed in this CDX file.

       --no-warc-compression       do not compress WARC files with GZIP.

       --no-warc-digests           do not calculate SHA1 digests.

       --no-warc-keep-log          do not store the log file in a WARC record.

       --warc-tempdir=DIRECTORY    location for temporary files created by the

                                   WARC writer.


Recursive download:

  -r,  --recursive                 specify recursive download.

  -l,  --level=NUMBER              maximum recursion depth (inf or 0 for infinite).

       --delete-after              delete files locally after downloading them.

  -k,  --convert-links             make links in downloaded HTML or CSS point to

                                   local files.

       --backups=N                 before writing file X, rotate up to N backup files.

  -K,  --backup-converted          before converting file X, back up as X.orig.

  -m,  --mirror                    shortcut for -N -r -l inf --no-remove-listing.

  -p,  --page-requisites           get all images, etc. needed to display HTML page.

       --strict-comments           turn on strict (SGML) handling of HTML comments.


Recursive accept/reject:

  -A,  --accept=LIST               comma-separated list of accepted extensions.

  -R,  --reject=LIST               comma-separated list of rejected extensions.

       --accept-regex=REGEX        regex matching accepted URLs.

       --reject-regex=REGEX        regex matching rejected URLs.

       --regex-type=TYPE           regex type (posix).

  -D,  --domains=LIST              comma-separated list of accepted domains.

       --exclude-domains=LIST      comma-separated list of rejected domains.

       --follow-ftp                follow FTP links from HTML documents.

       --follow-tags=LIST          comma-separated list of followed HTML tags.

       --ignore-tags=LIST          comma-separated list of ignored HTML tags.

  -H,  --span-hosts                go to foreign hosts when recursive.

  -L,  --relative                  follow relative links only.

  -I,  --include-directories=LIST  list of allowed directories.

       --trust-server-names        use the name specified by the redirection

                                   url last component.

  -X,  --exclude-directories=LIST  list of excluded directories.

  -np, --no-parent                 don't ascend to the parent directory.


Mail bug reports and suggestions to <bug-wget@gnu.org>.

root@AOL-Debian:~#

◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

뷰PDF add1,add2



관련자료

댓글 2

shimss11q님의 댓글

사례)타 서버에  있는 파일  나의서버로 저장하기
하기명령은  반복적으로  실행시 
기존 파일이름 동일하게  유지  되지 않으며 
기존파일 삭제 선행 되어야  한다

rm  저장경로 파일명
wget  웹경로의 파일명  -P 저장경로

rm /mnt/media_rw/sda5/www/html/000/xmltv.xml

wget https://???.000webhostapp.com/xmltv.xml -P /mnt/media_rw/sda5/www/html/000

shimss11q님의 댓글

사례) 타서버의 웹  php실행 나의서버에  저장하기
wget  -O 받는서버파일  타서버 php실행

wget -O /mnt/media_rw/sda5/www/html/000/xmltv.xml http://???.000webhostapp.com/epg2xml-web.php


전체 1,749 / 51 페이지
전체 1,749 / 51 페이지



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-05-18 18:00:15

오늘의 홈 현황


  • 현재 접속자♨ 79 명
  • 오늘 가입자※ 2 명
  • 어제 가입자※ 6 명
  • 주간 가입자※ 13 명
  • 오늘 방문자 1,701 명
  • 어제 방문자 1,667 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,329,713 명
  • 전체 게시물※ 8,576 개
  • 전체 댓글수※ 24,623 개
  • 전체 회원수 10,975 명

QR코드


☞ QR코드 스캔은 kakao앱 자체 QR코드

알림 0








최신글↑