タグ

ブックマーク / satospo.sakura.ne.jp (1)

  • wgetでURL構造を再現 - satospo

    Windows用のファイルダウンロードツール「Irvine」でおなじみの「URL構造を再現する」オプションは、wgetで次のとおりに指定すればマネできる。 $ wget URL -x -P /home/hogehoge/download/ 使うオプションは「-x」と「-P」です。役割は次のとおり(wgetのマニュアルより)。 -x --force-directories The opposite of -nd---create a hierarchy of directories, even if one would not have been created otherwise. E.g. wget -x http://fly.srk.fer.hr/robots.txt will save the downloaded file to fly.srk.fer.hr/robots.txt.

  • 1