I'd like to commit the current workdir state in direct mode in a script. This is what git annex watch does but I can not reliably start and stop git annex watch in a cron script.
Is this already possible with the current api or could we have something like git annex watch --once?
Thank you, Thomas Koch

It should be sufficient to run:
git annex add; git annex syncThat adds any new files and then commits those along with any changed or deleted files.