add sync command

must extract pwd at some point
(and make ping optional)
This commit is contained in:
Torsten Ruger 2018-05-01 14:24:47 +03:00
parent 1acd231a33
commit e39a0957d7
2 changed files with 5 additions and 0 deletions

3
.gitignore vendored
View File

@ -41,3 +41,6 @@ pkg
log log
tmp tmp
a.out a.out
#pi related files, like kernel an qemu
pi

2
bin/sync_script.sh Executable file
View File

@ -0,0 +1,2 @@
rsync -r -a -v --exclude ".git" --exclude "pi" -e "ssh -l pi -p 2222" /Users/torsten/ruby-x/rubyx localhost:/home/pi/
afplay /System/Library/Sounds/Morse.aiff