Last active
August 14, 2017 03:07
-
-
Save frankchen0130/01fb10921a6ddb4c56b6859eda4d4efd to your computer and use it in GitHub Desktop.
copy file from remote server exclude come files or directories.
This file contains 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
rsync -rav -e ssh --exclude 'word2vec-1/*' --exclude '.git/*' --exclude '*.pyc' --exclude '*nohup.out*' root@datalab2:~/project/service_test/ ./service/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment