a question for you shell scripters
Monty J. Harder
lists at kc.rr.com
Fri Mar 28 02:51:49 CST 2003
"Steven Elling" <ellings at kcnet.com> wrote:
> The `-links' and `-empty' options to find will not work in this case
because
> there could be a branch with subdirectories but no files anywhere in the
> branch. The branch would have a indeterminate link count greater than 2
> and would not match the `-empty' option.
Unless you also use the -depth option, which forces the search to examine
the contents of the directory before the directory itself.
More information about the Kclug
mailing list