in reply to Re: Skipping directories using File::Find
in thread Skipping directories using File::Find

This approach also has the advantage, that it works with bydepth, while prune does not.