Open takahashiyu opened 8 years ago
1回目完了
ファイルアップロードツールでの利用方法を確認する。
./ssh.sh ${WGET_IP} ${WGET_USER} "wget -Nrm --restrict-file-names=nocontrol http://${DOCUMENT_DIRECTORY}/document/index.html" || RET=$?
-r 再帰的にファイルを入手する
-N
--timestamping
Turn on time-stamping.
--no-use-server-timestamps
Don't set the local file's timestamp by the one on the server.
By default, when a file is downloaded, it's timestamps are set to
match those from the remote file. This allows the use of
--timestamping on subsequent invocations of wget. However, it is
sometimes useful to base the local file's timestamp on when it was
actually downloaded; for that purpose, the
--no-use-server-timestamps option has been provided.
-m
--mirror
Turn on options suitable for mirroring. This option turns on
recursion and time-stamping, sets infinite recursion depth and
keeps FTP directory listings. It is currently equivalent to -r -N
-l inf --no-remove-listing.
HTTP/HTTPSでまとめてデータを取得するwgetコマンドとは? http://www.atmarkit.co.jp/ait/articles/1506/09/news006.html