ページ更新: 2004-01-16 (金) (7074日前)
[編集]標準出力へ #-O file --output-document=file The documents will not be written to the appropriate files, but all will be concatenated together and writ- ten to file. If file already exists, it will be over- written. If the file is -, the documents will be written to standard output. Including this option automatically sets the number of tries to 1. $ wget -O - http://localhost/index.html[編集] --directory-prefix=prefix (-P) #-P prefix --directory-prefix=prefix Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirecto- ries will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory). $ wget --directory-prefix=/tmp http://localhost/index.html /tmp/index.htmlが作成される。 [編集].wgetrcでのProxy設定 #proxy=on httpproxy=proxy.example.jp:8080 httpsproxy=proxy.example.jp:8080 ftpproxy=proxy.example.jp:8080 proxyuser=proxyusername proxypasswd=proxypassword 注記:http_proxy=*** やhttp-proxy=***でも動作するようだ。 $ chmod 700 ~/.wgetrc |