3 # This script can be fired in crontab; it will launch a tmux sync session when none exists.
5 ncc
=~
/.local
/bin
/nextcloud-inotify-sync
6 tmux has-session
-t nc-vimwiki || tmux new-session
-d -s nc-vimwiki
"${ncc} ~/.vimwiki https://cloud.example.com/remote.php/webdav/vimwiki"