I hate to ask such an absolutely simple question, but for what I&#39;m doing I have to be *absolutely certain* to get this right :)  <div><br></div><div>When deleting symlinks, I think I&#39;ve always used os.unlink() although it&#39;s the same as os.remove().</div>
<div><br></div><div>I can&#39;t tell in the documentation, but I want to be abso-bloody-lutely certain that I&#39;m deleting the link and not the file that it points to. This is for a very large file system clean-up on a data system that would be a bear to replace. We wish to clean up specific symbolic links that I can find easily, but not the files that they point to.</div>
<div><br></div><div>Is os.unlink() guaranteed to touch the symlink only?   Also, semantically, is this &quot;unlinking&quot; a hard unlinking and therefore the same as remove (i.e., which would be easier for someone who is reading the code to understand/yet still be accurate).</div>
<div><br></div><div><br></div><div>Cheers,</div><div><br></div><div><br></div><div><br></div><div>Glen</div><div>-- <br>Whatever you can do or imagine, begin it;<br>boldness has beauty, magic, and power in it.<br><br>-- Goethe <br>

</div>