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
| /usr/bin/pi_sync |
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
| cd /home/{user_name}/Downloads/pi_sync/ |
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
| echo $(curl -s icanhazip.com) #retrieve IPv6 IP for line 4 (sync.sh) |
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
| cd /home/{user_name}/Downloads/pi_sync/ #Step 2.a: Change directory | |
| #Step 2.b: Change line 5 to your raspberry PI's local IP address. | |
| chmod +x sync.sh #Step 2.c: Make sync.sh executable | |
| mv sync.sh pi_sync #Step 2.d: Rename file | |
| sudo cp sync.sh /usr/bin/ #Step 2.e: Copy file |
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
| ssh-copy-id -i .ssh/id_rsa.pub -p22 pi@{your_local_ip_address} |
NewerOlder