Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created March 22, 2010 10:44
Show Gist options
  • Save sugamasao/339961 to your computer and use it in GitHub Desktop.
Save sugamasao/339961 to your computer and use it in GitHub Desktop.
これでリモートサーバのファイルをローカルに同期できる。
具体的にはリモートサーバの /fuga がローカルの /hoge/fuga に同期されるよ
rsync -avrz --delete user@remote:/fuga /hoge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment