Wget ¿Ïº® Á¤¸® | ÀÛ¼ºÀÏ : 2004/01/09 15:45 |
Á¶È¸¼ö : 38856 |
¿À´ÃÀº pbi12°¡ ȸ»ç Ãâ±ÙÇÏ°í º¸´Ï ¿ØÁö Wget¿¡°Ô °í¸¶¿î ÀÏÀÌ ¸¹¾Æ¼ ±ÛÀ» Á¤¸® Çغ»´Ù.^^ °£´ÜÇÑ ÆÁµé ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ¸ÕÀú °£´ÜÇÑ ÆÁÀ¸·Î´Â ÇÏÀ§ µð·ºÅ丮¸¦ ±Ü´Â ¿É¼ÇÀ¸·Î´Â wget -r ÁÖ¼Ò ÀÌ·¸°Ô ¸ðµç ÇÏÀ§ µð·ºÀÇ ÆÄÀÏÀ» ±Ü¾î ¿Ã¼ö°¡ ÀÖ´Ù. nohup wget -nv http://take.somewhere.org/really.tar.gz & ftpµµ µÇ°í ¾ÆÁÖ ½ÉÇÃÇÏ°Ô Á¶¿ëÈ÷ ¹Þ½À´Ï´Ù. wgetrc ÆÄÀÏÀ» ÆíÁýÇؼ ½Ãµµ ȸ¼ö¶óµç°¡ ´Ù¾çÇÑ Á¶°ÇÀ» ¼³Á¤ÇÏ°í bash¿Í ´õºÒ¾î ¾´´Ù¸é ²Ï³ª ¸ÚÁö°Ô? ´Ù¿îÀ» ÇÏ°ÚÁÒ. wget -c filename ÀÌ·¸°Ô ÇÏ´Ù ²÷±â¸é ´Ù½Ã À§ ¸í·ÉÀ» ³»·ÁÁÖ¸é ¹ÞÀºµ¥ ºÎÅÍ ´Ù½Ã... wget ¸í·É°ú ºñ½ÁÇÑ ÀÏÀ» ÇÏ´Â ¶Ç´Ù¸¥ À¯»çÇÑ ¸í·É¾î°¡ ÀÖ½À´Ï´Ù. »ç¿ë ¹æ¹ýÀº... bash # nc www.yahoo.com 80 <-- Á¢¼ÓÆ÷Æ®¹øÈ£ ²À ÁöÁ¤! GET /index.html ... ... ------------------------------------- ÀÌ·±½ÄÀ¸·Î °Ë»öÇÕ´Ï´Ù. ¶Ç ´Ù¸¥ »ç¿ë¹æ¹ý (Çѹø¿¡ ³¡³»±â..) bash # echo 'GET /index.html' | nc -w 3 www.yahoo.com 80 [ENTER] ÀÌ°ÍÀ» ÀÀ¿ëÇϸé ftpµç wgetÀ̵ç cgi_executeµçÁö °£¿¡ ¸¾µ¥·Î ÇÒ¼ö ÀÖ½À´Ï´Ù. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wget ÇÑ±Û ¸Þ´º¾óÁ¦ÀÛ - by pbi12 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GNU Wget 1.7, a non-interactive network retriever. ±×´© Wget 1.7 ¹öÁ¯, ´ëÈâ¾øÀÌ ³×Æ®¿öÅ©¿¡¼ ÀڷḦ ã¾Æ¿À´Â ¸®Æ®¸®¹ö(»ç³É°³) Usage: wget [OPTION]... [URL]... »ç¿ë¹ý: wgetÀ» ¾´ÈÄ¿¡ ¿É¼ÇÀ» Àû°í ³ÈÄ¿¡ URLÀ» ÀûÀ¸¼¼¿ä. Mandatory arguments to long options are mandatory for short options too. ÇʼöÀûÀÎ ±ä ¿É¼ÇÀÇ º¯¼ö´Â ÇʼöÀûÀΠªÀº ¿É¼ÇÀ» Àû´Â°Í°ú °°´Ù. <-- (¸Â´Â¸»ÀÎÁö -_-a ) Startup: -V, --version display the version of Wget and exit. WgetÀÇ ¹öÁ¯À» º¸¿©ÁÖ°í Á¾·á ÇÕ´Ï´Ù. -h, --help print this help. µµ¿ò¸»À» º¸¿©ÁÝ´Ï´Ù. -b, --background go to background after startup. ½ÃÀÛÇÑ ÈÄ¿¡ ¹é±×¶ó¿îµå¿¡¼ ÀÛµ¿ÇÕ´Ï´Ù. -e, --execute=COMMAND execute a `.wgetrc'-style command. .wgetrc ¶ó´Â ½ºÅ¸ÀÏÀÇ ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù. Logging and input file: -o, --output-file=FILE log messages to FILE. ¸Þ¼¼ÁöµéÀ» ÆÄÀÏ·Î ³²±é´Ï´Ù. -a, --append-output=FILE append messages to FILE. ¸Þ¼¼Áö¸¦ ÆÄÀÏ¿¡ Ãß°¡ÇÕ´Ï´Ù. -d, --debug print debug output. µð¹ö±× ³»¿ëÀ» º¸¿©ÁÝ´Ï´Ù. -q, --quiet quiet (no output). Ãâ·Â¾øÀÌ Á¾·áÇÔ. -v, --verbose be verbose (this is the default). ´Ù¾çÇÔ. ±âº»°ªÀÔ´Ï´Ù. -nv, --non-verbose turn off verboseness, without being quiet. ±âº»¿É¼ÇÀ» Á¦°ÅÇÑ´Ù. -i, --input-file=FILE download URLs found in FILE. ´Ù¿î¹ÞÀ» URLÁÖ¼Ò¸¦ ÆÄÀÏ¿¡¼ ã½À´Ï´Ù. -F, --force-html treat input file as HTML. HTML °ú °°Àº ÆÄÀÏÀ» ÀԷ°ªÀ¸·Î Ãë±ÞÇÕ´Ï´Ù. -B, --base=URL prepends URL to relative links in -F -i file. --sslcertfile=FILE optional client certificate. --sslcertkey=KEYFILE optional keyfile for this certificate. ÆÄÀÏÀ̳ª ¸µÅ©¿¡ °ü·ÃÇÑ URL, keyfile À» »ç¿ëÇÏ¿© sslÀ» Áõ¸íÇÑ´Ù. Download: --bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local host. ·ÎÄà ȣ½ºÆ®ÀÇ ÁÖ¼Ò¸¦ ¼³Á¤ÇÑ´Ù. -t, --tries=NUMBER set number of retries to NUMBER (0 unlimits). ¼³Á¤ÇÑ ¼ýÀÚ ¸¸Å ´Ù½Ã ½ÃµµÇÑ´Ù. 0Àº ¹«ÇÑ´ëÀÌ´Ù. -O --output-document=FILE write documents to FILE. ¹®¼¸¦ ÆÄÀÏ·Î ¾´´Ù. -nc, --no-clobber don't clobber existing files or use .# suffixes. Áö³ªÄ¡°Ô ÆÄÀÏÀ̳ª »ç¿ëÀ» Á¾·á ÇÏÁö ¾Ê´Â´Ù.# ÷°¡. -c, --continue resume getting a partially-downloaded file. ºÎºÐÀûÀ¸·Î ÆÄÀÏÀ» ÀÌ¾î ¹ÞÀ» ¼ö ÀÖ°Ô ÇÑ´Ù. --dot-style=STYLE set retrieval display style. º¹±¸ ½ºÅ¸ÀÏ·Î ¼³Á¤ÇÑ´Ù. -N, --timestamping don't re-retrieve files unless newer than local. ·ÎÄÿ¡ ÀÖ´Â °Íº¸´Ù »õ·ÓÁö ¾ÊÀ¸¸é ÆÄÀÏÀ» ´Ù½Ã ¹ÞÁö ¾Ê´Â´Ù. -S, --server-response print server response. ¼¹öÀÇ ÀÀ´äÀ» Ãâ·ÂÇÑ´Ù. --spider don't download anything. ´Ù¿î·Îµå¸¦ ÇÏÁö ¾Ê´Â´Ù. -T, --timeout=SECONDS set the read timeout to SECONDS. Á¾·áµÉ ½Ã°£À» ÃÊ´ÜÀ§·Î ¼³Á¤ÇÑ´Ù. -w, --wait=SECONDS wait SECONDS between retrievals. --waitretry=SECONDS wait 1...SECONDS between retries of a retrieval. °Ë»öÇÏ°í ±â´Ù¸®´Â ½Ã°£À» ÃÊ´ÜÀ§·Î ¼³Á¤ÇÑ´Ù. -Y, --proxy=on/off turn proxy on or off. ÇÁ¶ô½Ã ¸ðµå¸¦ ÄÑ°í ²ö´Ù. -Q, --quota=NUMBER set retrieval quota to NUMBER. ¼ýÀÚ ¸¸Å ºÐ´ãÇϵµ·Ï ¼ÂÆÃÇÑ´Ù. Directories: -nd --no-directories don't create directories. µð·ºÅ丮¸¦ »ý¼ºÇÏÁö ¾Ê´Â´Ù. -x, --force-directories force creation of directories. µð·ºÅ丮¸¦ °Á¦·Î »ý¼ºÇÑ´Ù. -nH, --no-host-directories don't create host 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 À¯ÀúÀÇ ¾ÆÀ̵𸦠¼³Á¤ÇÑ´Ù. --http-passwd=PASS set http password to PASS. httpÀÇ Æнº¿öµåÀÇ ¾ÏÈ£¸¦ ¼³Á¤ÇÑ´Ù. -C, --cache=on/off (dis)allow server-cached data (normally allowed). ¼¹öÃøÀÇ Ä³½¬ µ¥ÀÌÅ͸¦ Çã¿ëÇÏ´Â°Ô º¸ÅëÀ̳ª, Á¦°Å ÇÒ¼öµµ ÀÖ´Ù. -E, --html-extension save all text/html documents with .html extension. ¸ðµç text/htmlÇü½ÄÀÇ ¹®¼µé°ú .html ÆÄÀÏÀ» °°ÀÌ È®ÀåÇؼ ÀúÀåÇÑ´Ù. --ignore-length ignore `Content-Length' header field. Content-Length¶ó´Â Çì´õÀÇ ºÎºÐÀº ¹«½ÃÇÑ´Ù. --header=STRING insert STRING among the headers. Çì´õµé°£ÀÇ »çÀÌÀÇ ±Û¾¾¸¦ Ãß°¡ÇÑ´Ù. --proxy-user=USER set USER as proxy username. ÇÁ¶ô½ÃÀÇ À¯ÀúÀ̸§À» ¼³Á¤ÇÑ´Ù. --proxy-passwd=PASS set PASS as proxy password. ÇÁ¶ô½Ã Æнº¿öµå¸¦ ¼³Á¤ÇÑ´Ù. --referer=URL include `Referer: URL' header in HTTP request. http°¡ ¿äûÇÏ´Â Çì´õ¿¡¼ URLÂüÁ¶ÇÑ °ÍÀ» Ãß°¡ÇÑ´Ù. -s, --save-headers save the HTTP headers to file. ÆÄÀÏ¿¡¼ HTTP Çì´õ¸¦ ÀúÀåÇÑ´Ù. -U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION. Wget/Version º¸´Ù ³ªÀº ¿¡ÀÌÀüÆ®¸¦ Á¶»çÇÑ´Ù. --no-http-keep-alive disable HTTP keep-alive (persistent connections). HTTP ÀÇ Keep-alive Á¦°Å (²öÁú±â°Ô ¿¬°áÇØÁØ´Ù.) --cookies=off don't use cookies. ÄíÅ°»ç¿ë ¾ÈÇÔ. --load-cookies=FILE load cookies from FILE before session. ÄíÅ°¸¦ ¼¼¼ÇÀüÀÇ ÆÄÀÏ¿¡¼ ºÒ·¯¿Â´Ù. --save-cookies=FILE save cookies to FILE after session. ¼¼¼ÇÀÌÈÄÀÇ ÆÄÀÏ¿¡¼ ÄíÅ°¸¦ ÀúÀåÇÑ´Ù. FTP options: -nr, --dont-remove-listing don't remove `.listing' files. .listing À̶ó´Â ÆÄÀÏ¿¡ ÀÖ´Â°Ç Áö¿ìÁö ¾Ê´Â´Ù. -g, --glob=on/off turn file name globbing on or off. ÇϳªÀÇ ÆÄÀÏ À̸§À¸·Î ÇÏ´ÂÁö¸¦ ÄÑ°í ²ö´Ù. --passive-ftp use the "passive" transfer mode. ¹ÝÀÀÇÏÁö ¾Ê´Â Àü¼Û¸ðµå¸¦ »ç¿ëÇÑ´Ù. --retr-symlinks when recursing, get linked-to files (not dirs). º¹±¸Áß¿¡ ¸µÅ©°¡ °É¸° ÆÄÀÏÀ» °¡Á®¿Â´Ù.(µð·ºÅ丮´Â ¾Æ´Ï´Ù.) Recursive retrieval: -r, --recursive recursive web-suck -- use with care! À¥À» »¡¾ÆµéÀÌ´Â °ÍÀ» ¹Ýº¹ÇÑ´Ù. Á¶½ÉÇؼ »ç¿ëÇ϶ó! -l, --level=NUMBER maximum recursion depth (inf or 0 for infinite). ÃÖ´ëÇÑ ¹Ýº¹ÇÑ´Ù. Á¤µµ´Â 0 À¸·ÎÇϸé Çì¾Æ¸±¼ö ¾øÀÌ ¹Ýº¹ÇÑ´Ù. --delete-after delete files locally after downloading them. ±×°ÍµéÀ» ´Ù ¹ÞÀ¸¸é ·ÎÄÃÀÇ ÆÄÀϵéÀ» »èÁ¦ ÇÑ´Ù. -k, --convert-links convert non-relative links to relative. °ü°è ¾ø´Â ¸µÅ©¿¡¼ °ü°èÀÖ´Â °ÍÀ¸·Î º¯È¯ÇØÁØ´Ù. -K, --backup-converted before converting file X, back up as X.orig. º¯È¯Çϱâ Àü¿¡ X¶ó´Â ÆÄÀÏÀ» X.orig ¶ó´Â ÆÄÀÏ·Î ¹é¾÷ÇØÁØ´Ù. -m, --mirror shortcut option equivalent to -r -N -l inf -nr. -r -N -l inf -nr À̶ó´Â ¿É¼Ç°ú µ¿ÀÏÇÑ ¿É¼ÇÀ» ¼Õ½±°Ô »ç¿ëÇÒ ¼ö ÀÖ´Ù. -p, --page-requisites get all images, etc. needed to display HTML page. ¸ðµç À̹ÌÁö¿Í ±âŸ HTML ÆäÀÌÁö°¡ Ç¥Çö °¡´ÉÇÑ ¸ðµç°ÍÀ» °¡Á®¿Â´Ù. Recursive accept/reject: -A, --accept=LIST comma-separated list of accepted extensions. ¹Þ¾ÆµéÀÏ °ÍÀ» È®ÀåÇϱâ À§ÇØ ÄÞ¸¶·Î ºÐ¸®µÈ ¸®½ºÆ®·Î ¹Þ¾ÆµéÀδÙ. -R, --reject=LIST comma-separated list of rejected extensions. °ÅÀýÇÒ °ÍÀ» È®ÀåÇϱâ À§ÇØ ÄÞ¸¶·Î ºÐ¸®µÈ ¸®½ºÆ®·Î ¹Þ¾ÆµéÀδÙ. -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. HTML ¹®¼¿¡¼ÀÇ FTP ¸µÅ©¸¦ µû¶ó°£´Ù. --follow-tags=LIST comma-separated list of followed HTML tags. HTML ű׿¡¼ µû¶ó°¥ ÄÞ¸¶·Î ºÐ¸®µÈ ¸®½ºÆ®·Î ¹Þ¾ÆµéÀδÙ. -G, --ignore-tags=LIST comma-separated list of ignored HTML tags. ¹«½ÃÇÒ HTML ű׸¦ ÄÞ¸¶·Î ºÐ¸®µÈ ¸®½ºÆ®·Î ¹Þ¾ÆµéÀδÙ. -H, --span-hosts go to foreign hosts when recursive. ¹Ýº¹ÇÒ¶§¿¡ ´Ù¸¥ È£½ºÆ®·Îµµ °¡°Ô ÇÑ´Ù. -L, --relative follow relative links only. °ü°èÀÖ´Â ¸µÅ©¸¸ µû¶ó°£´Ù. -I, --include-directories=LIST list of allowed directories. Çã¿ëÇÒ µð·ºÅ丮¸¦ ¸®½ºÆ®·Î ¹Þ¾ÆµéÀδÙ. -X, --exclude-directories=LIST list of excluded directories. Â÷´ÜÇÒ µð·ºÅ丮¸¦ ¸®½ºÆ®·Î ¹Þ¾ÆµéÀδÙ. -nh, --no-host-lookup don't DNS-lookup hosts. DNSÀÇ °Ë»ö È£½ºÆ®¸¦ »ç¿ëÇÏÁö ¾Ê´Â´Ù. -np, --no-parent don't ascend to the parent directory. »óÀ§ µð·ºÅ丮¸¦ ¿Ã¶ó°¡Áö ¾Êµµ·Ï ÇÑ´Ù. Mail bug reports and suggestions to <bug-wget@gnu.org>. ¸ÞÀÏ·Î ¹ö±× ¸®Æ÷Æ®¿Í ´õ³ªÀº Á¦¾ÈÀ» ¹Ù¶ø´Ï´Ù. |
Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ / URL : http://coffeenix.net/board_view.php?bd_code=168 |