<p>Finds and watches your DropBox favorites cache for file changes. When a change occurs, any file in the cache matching *_Distribute.sh is run, allowing you to copy out cache file contents to more useful directories. The absolute directory of each distribution script is passed to the script as $1.</p>
<p>A sample to copy iKeePass kdb files follows:</p>
<p>------------------------------------------- </p>
<p>#! /bin/sh </p>
<p>find /var/mobile/Applications -name iKeePass.app | while read obj </p>
<p>do</p>
<p>appdirectory=${obj%/*}</p>
<p>cp ${1}/*.kdb ${appdirectory}/Documents</p>
<p>done </p>
<p>-------------------------------------------</p>
<p> </p>