Skip to content

Instantly share code, notes, and snippets.

Created September 3, 2012 13:33
What would you like to do?
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] ./
# 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