#!/bin/zsh sudo rsync -avv --exclude-from /home/pks/.local/bin/backup.exclude --delete / /media/dock/b/bogues.local ping -q -w 1 -c 1 alphard.uberspace.de if [ $? -eq 0 ]; then rsync -kavv pks@alphard.uberspace.de: /media/dock/b/alphard.uberspace.de fi ping -q -w 1 -c 1 mirfac.uberspace.de if [ $? -eq 0 ]; then rsync -kavv smnr@mirfac.uberspace.de: /media/dock/b/mirfac.uberspace.de fi adb devices | grep a23dc087 if [ $? -eq 0 ]; then adb backup -apk -shared -all -f /media/dock/b/mallone.ab fi