Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- SERVERS="cms c21b"
- FILES=".vimrc .bashrc .bash_profile .tmux.conf local/ .vim/"
- for FILE in $FILES
- do
- for SERVER in $SERVERS
- do
- rsync -avruzP $SERVER:$FILE $FILE
- done
- for SERVER in $SERVERS
- do
- rsync -avruzP $FILE $SERVER:$FILE
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement