How to calculate relative path  between 2 directory path?
<p>I have 2 directory:</p>

<pre><code>subdir1 = live/events/livepkgr/events/_definst_/
subdir2 = live/streams/livepkgr/streams/_definst_/
</code></pre>

<p>result must be:</p>

<pre><code>diff_subdir = ../../../../streams/livepkgr/streams/_definst_/
</code></pre>
