Skip to content

Instantly share code, notes, and snippets.

@esnho
Created October 28, 2023 15:07
Show Gist options
  • Save esnho/0b6c87b35e922682a173d169427e7578 to your computer and use it in GitHub Desktop.
Save esnho/0b6c87b35e922682a173d169427e7578 to your computer and use it in GitHub Desktop.
My sync command
#remember that rsync will create a target folder with the last folder in your source path
rsync -vhrtu --progress --exclude=node_modules [source/folder/foo/bar] [target/folder/foo]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment