Last active
June 6, 2017 02:55
-
-
Save aahung/9f384f0001d5e2c34e82476ff69fd206 to your computer and use it in GitHub Desktop.
Copy from remote server include files with some pattern only
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
export REMOTE_PATH=/data/xinhong/pd/run_makeup_cr0.02 | |
rsync -a --include="*o/" --include="*.out" --exclude="*" [email protected]:$REMOTE_PATH . --progress | |
rsync -a --include="*/" --include="*eff*.out" --exclude="*" [email protected]:$REMOTE_PATH . --progress | |
rsync -a --include="*/" --include="*1460000*.out" --exclude="*" [email protected]:$REMOTE_PATH . --progress | |
rsync -a --include="*/" --include="*1460000*" --exclude="*" [email protected]:$REMOTE_PATH . --progress | |
rsync -a --include="*/" --include="*10600000*" --exclude="*" [email protected]:$REMOTE_PATH . --progress | |
rsync -a --include="*/" --include="*507200*" --exclude="*" [email protected]:$REMOTE_PATH . --progress | |
rsync -a --include="*/" --include="*6600000*" --exclude="*" [email protected]:$REMOTE_PATH . --progress |
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 -a --include="*/" --include="*sq*.out" --exclude="*" user@hostname:~/path/ ./ --progress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment