diff --git a/bin/cadmus b/bin/cadmus index 37d07ec..7db15cc 100755 --- a/bin/cadmus +++ b/bin/cadmus @@ -419,6 +419,8 @@ CadmusMisc() { ;; print) shift; "${script_dir}/NoteFind.sh" "${NOTES_DIR}" | xargs mdcat ;; + sync) shift; cd "${NOTES_DIR}"; git pull && git add -A && git commit && git push + ;; --*) >&2 echo "bad option $1" ;; *) >&2 echo -e "argument \e[1;35m${1}\e[0m has no definition."