Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Launchd scheduling plist for backing up Ulysses for Mac files.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.ulysses-backup</string>
<key>ProcessType</key>
<string>Adaptive</string>
<key>ProgramArguments</key>
<array>
<string>zip</string>
<string>-ur</string>
<string>/Users/USERNAME/Dropbox/ulysses-daedalus_backup.zip</string>
<string>/Users/USERNAME/Library/Mobile Documents/X5AZV975AG~com~soulmen~ulysses3</string>
<string>/Users/USERNAME/Library/Mobile Documents/X5AZV975AG~com~soulmen~dtouch/</string>
</array>
<key>StandardErrorPath</key>
<string>/tmp/local.ulysses-backup.err</string>
<key>StandardOutPath</key>
<string>/tmp/local.ulysses-backup.out</string>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>20</integer>
<key>Minute</key>
<integer>30</integer>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.