Files
scripts/shell/run_unison.sh
2025-09-18 11:35:56 +02:00

16 lines
252 B
Bash
Executable File

#!/bin/sh
## wrapper to make unison dynamic
#net=$(ping -c 1 hahn1.one)
#echo $net
#
#if [ $net = "" ]; then
# echo "cannot reach cloud"
#else
#fi
# TODO: implement net logic
unison MainAll -root "$HOME/synced" -root "ssh://jonas@hahn1.one/synced"