Skip to content

Instantly share code, notes, and snippets.

@iitenkida7
Created July 26, 2017 16:13
Show Gist options
  • Save iitenkida7/cec0d9327a74ab96a07b10f422f1b7e5 to your computer and use it in GitHub Desktop.
Save iitenkida7/cec0d9327a74ab96a07b10f422f1b7e5 to your computer and use it in GitHub Desktop.
#!/bin/bash
#概要 wget で 該当URL及びリンク先のコンテンツを根こそぎダウンロードする。
# 動的サイトを静的に取得したい時に便利
# ドメイン名のディレクトリが作成されて保存される
#参考サイト
#https://sites.google.com/site/michinobumaeda/cms/geeklogwget
function get_site_all_contents(){
wget -m -k -p -E $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment