note
merlyn
You have to use finddepth, not find, because you need to act on the current directory <i>last</i>. Consider a directory that is empty except for containing two other empty directories.
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-9073">
<p>-- [http://www.stonehenge.com/merlyn/|Randal L. Schwartz, Perl hacker]
<br>
Be sure to read [id://205373|my standard disclaimer] if this is a reply.</p>
</div></div>
520791
520793