Hi, I am looking to backup my databases with Carbon Copy Cloner daily, and am looking for shell scripts that can be used to safely shutdown and restart DT3. CCC requires shell scripts, not applescripts, for its pre and post flight scripts. I’ve looked around and not found it - is this possible? Thanks!
Use osascript
in a shell script, for example
osascript -e "Application('DEVONthink 3').quit({saving: 'yes'})" -l JavaScript
or the equivalent AppleScript code. Take care of using the right quotes. I didn’t check that code, it’s just for illustration.