Last active
February 29, 2020 07:12
-
-
Save Munawwar/59e55c7627cac36d2242b78c5bf92d32 to your computer and use it in GitHub Desktop.
Simple node.js rsync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# exclude node_modules folder and files like .DS_STORE on OSX | |
rsync -rv --exclude 'node_modules' --exclude '.*' --delete-after --ignore-errors . [email protected]:AppDirectory/ | |
# execute yarn install | |
ssh [email protected] 'cd AppDirectory && yarn install' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment