Created
November 10, 2018 23:57
-
-
Save Mohitsharma44/4ae31e58fce2174e13f26eb166fdc60a to your computer and use it in GitHub Desktop.
Copying files from Master Pi to Client Pis
This file contains hidden or 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 | |
echo -ne "Prepping CenterVizWall" | |
echo | |
echo -ne "Setting correct vizwall configuration options for all-screen-cast" | |
for dest in $(<destfile.txt); do scp .piwall listener.sh ${dest}:/home/pi/; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contents of destfile.txt should be the hostnames like this: