Created
March 8, 2017 22:57
-
-
Save markrmiller/e409d15e85b8c85cca888f7753c3f58a to your computer and use it in GitHub Desktop.
rsync lucene-solr checkout to remote machine
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
dir=$(basename $PWD) | |
rsync -azvp --stats --delete --exclude='.git/' --filter=':- .gitignore' --rsync-path="mkdir -p ~/beast/$dir && rsync" . ${hosts[$i-1]}:~/beast/$(basename $dir) | |
rsync -azvp --stats --delete solr/core/src/test-files/solr/collection1/lib ${hosts[$i-1]}:~/beast/$dir/solr/core/src/test-files/solr/collection1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment