Skip to content

Instantly share code, notes, and snippets.

@pkutzner
Created August 26, 2015 22:23
Show Gist options
  • Save pkutzner/edb9ddcf9e4586d2915a to your computer and use it in GitHub Desktop.
Save pkutzner/edb9ddcf9e4586d2915a to your computer and use it in GitHub Desktop.
Sync to multiple clouds
<?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>mulitcloudsync</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/bin/rsync</string>
<string>-aq</string>
<string>--delete</string>
<string>/path/to/primary/cloud</string>
<string>/path/to/secondary/cloud</string>
</array>
<key>WatchPaths</key>
<array>
<string>/path/to/primary/cloud</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment