Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save blueprintmrk/9fc2ffce3ca85813cd38c99537bab6c9 to your computer and use it in GitHub Desktop.
Save blueprintmrk/9fc2ffce3ca85813cd38c99537bab6c9 to your computer and use it in GitHub Desktop.
Terminal - Rsync merge files/folders from one server to another
# Merge from remote to local (exclude .svn folders)
rsync -av --exclude '.svn' [username]@[server]:/[path-to-folder]/[folder] ./
--progress
# Use this flag to show progress
# ./ means merge into the current folder (it needs to exist!)
# Reverse paths to go from local to remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment