<p dir="ltr">Yes ok</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Jul 22, 2016 8:11 AM, &quot;Burton, Ross&quot; &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 22 July 2016 at 15:13, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I think it will fail if the existing file is not a symlink ?<br></div></blockquote><div><br></div><div>No, the only difference between lexists and exists is that exists follows links.  So in the case of a broken link, exists returns false.</div><div><br></div><div>Ross </div></div><br></div></div>
</blockquote></div></div>