Skip to content

Instantly share code, notes, and snippets.

@sergio-fry
Created June 23, 2010 09:26
Show Gist options
  • Save sergio-fry/449690 to your computer and use it in GitHub Desktop.
Save sergio-fry/449690 to your computer and use it in GitHub Desktop.
#!/bin/sh
rsync -a --no-perms --no-owner --no-group -vz --exclude=".git" --exclude="*.swp" --exclude=".gitignore" --exclude="deploy.sh" ./ user@host:/path/to/htdocs/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment