How shell scripts are pushed from SVN to multiple servers
This article will explain in detail how shell scripts are pushed from SVN to multiple servers. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The code is as follows:
SRCDIR=/letv/data/www/htdocs_user/MOD=userIP_LIST= (192.126.32.92 192.126.32.93 192.181.155.214 192.181.155.214 192.185.215 192.126.32.171) for i in ${IP_LIST [*]} do echo-e "\ n\ nPUSH = = $I = =\ n" / usr/bin/rsync-vzrtopg-- progress-- delete-after $SRCDIR-- exclude= ".svn" rsync: / / $i/$MOD/done 's article on "how shell scripts are pushed from SVN to multiple servers" ends here Hope that the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.