Skip to content

Instantly share code, notes, and snippets.

@josh-padnick
Created March 4, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josh-padnick/9562f09df892b72f7e42 to your computer and use it in GitHub Desktop.
Save josh-padnick/9562f09df892b72f7e42 to your computer and use it in GitHub Desktop.
Using Rsync to Sync a Directory to a Remote Instance
rsync -ra --out-format='[%t]--%n' --delete /path/to/local/folder/ <SSH-USER>@<SERVER-IP-ADDRESS>:/path/to/remote/folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment