Created
July 1, 2020 00:33
-
-
Save gusugusu1018/21053e3fdd3f0cb96dc17b0284c7d47f to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
for node in worker1 worker2; do | |
echo =================== $node ===================== | |
scp /opt/hoge/* $node:/opt/hoge/; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment