Skip to content

Instantly share code, notes, and snippets.

@mosson
Created April 16, 2015 01:21
Show Gist options
  • Save mosson/c3f6b1e75f7a37c114fe to your computer and use it in GitHub Desktop.
Save mosson/c3f6b1e75f7a37c114fe to your computer and use it in GitHub Desktop.
ssh [host]
cd ~
mkdir -p ws
cd ws
wget --no-check-certificate --page-requisites --convert-links [host][path][page].html # .htmlでredirectをさける
cd [host][path]
mv [page].html [documentRoot][path]/
cd [documentRoot][path]
# ここでブラウザで確認
rm [page]
mv [page].html [page]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment