a question for you shell scripters

Gerald Combs gerald at ethereal.com
Thu Mar 27 02:51:29 CST 2003


On Wed, 26 Mar 2003, L. Adrian Griffis wrote:

> 
> I'm not sure the links think will limit the search the way
> you expect it to.  Additional subdirectories will increase
> the link count, but I don't think contained files will.
> Still, rmdir will refuse to remove a non-empty directory,
> so it won't hurt not to have filtered them all out, and
> the "-links 2" option will at least filter out directories
> that contain subdirectories.

You're right.  Hal suggested '-empty', which is a better solution.




More information about the Kclug mailing list