Skip to content

Instantly share code, notes, and snippets.

@jimkang
Created December 18, 2018 21:13
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 jimkang/6899c0dcc06bea6e7f2054101bd271f6 to your computer and use it in GitHub Desktop.
Save jimkang/6899c0dcc06bea6e7f2054101bd271f6 to your computer and use it in GitHub Desktop.
rsync flags that allow you to not have to ask for privileges
rsync -a $(HOMEDIR) $(USER)@$(SERVER):$(SERVERDIR) --exclude node_modules/ --omit-dir-times --no-perms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment