adapted scripts for linux

This commit is contained in:
Torsten 2019-07-23 12:07:24 +03:00
parent 1c4882c40d
commit 27fc66a8ca
3 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#! /usr/bin/env ruby -I lib #!/usr/bin/env -S ruby -I lib
require 'rubygems' require 'rubygems'
require 'bundler' require 'bundler'
begin begin

2
bin/sync_linux.sh Executable file
View File

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