Forked from p120ph37/gdrive-dropbox-sync.plist
Last active
November 18, 2016 00:58
-
-
Save louisrawlins/920afe56213246e121589d60e3599eb2 to your computer and use it in GitHub Desktop.
A launchd plist file to sync Dropbox and Google Drive folders with unison when changed (see: http://launchd.info/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key><string>local.unison</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/sh</string><string>-c</string> | |
<string>/usr/local/bin/unison \ | |
-times \ | |
-prefer=newer \ | |
-owner \ | |
-group \ | |
-ignorelocks \ | |
-terse \ | |
-batch \ | |
-ignore='Path .dropbox.cache' \ | |
-ignore='Path .DS_Store' \ | |
-ignore='Path Icon?' \ | |
~/Google\ Drive/ \ | |
~/Dropbox/</string> | |
</array> | |
<key>RunAtLoad</key><true/> | |
<key>WatchPaths</key> | |
<array> | |
<string>~/Google Drive</string> | |
<string>~/Dropbox</string> | |
</array> | |
<!--<key>StartInterval</key><integer>60</integer>--> | |
<key>ExitTimeOut</key><integer>0</integer> | |
<key>ThrottleInterval</key><integer>1</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment