From e39a0957d715ccc2e208ef7e30e001746f83889b Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Tue, 1 May 2018 14:24:47 +0300 Subject: [PATCH] add sync command must extract pwd at some point (and make ping optional) --- .gitignore | 3 +++ bin/sync_script.sh | 2 ++ 2 files changed, 5 insertions(+) create mode 100755 bin/sync_script.sh diff --git a/.gitignore b/.gitignore index 5f04304d..b5d961e7 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,6 @@ pkg log tmp a.out + +#pi related files, like kernel an qemu +pi diff --git a/bin/sync_script.sh b/bin/sync_script.sh new file mode 100755 index 00000000..8f3f8b93 --- /dev/null +++ b/bin/sync_script.sh @@ -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