2 # This simple script will start autosync.py daemons for all configs found in $XDG_CONF_HOME/autosync/,
3 # stopping any existing daemons with that config first.
4 conf=${XDG_CONF_HOME:-$HOME/.config}/autosync
5 data=${XDG_DATA_HOME:-$HOME/.local/share}/autosync
9 pkill -f "python.*dvcs-autosync .*autosync/$(basename $i)"
10 dvcs-autosync $i &> $data/log/$(basename $i).$(date '+%F-%T').log &