Reply to Re: deleting all the files in a directory
Posted by Ewoud Dronkert on 02/14/06 01:53
Andy Hassall wrote:
> Missing, or including? symlinks to files return true from is_file() if their
> target is a file, so yes, that should probably have a && !is_link() condition
> as well, depending on what the OP really wants deleted.