[wellylug] Empty Directories
Richard Hector
richard at walnut.gen.nz
Tue Apr 4 16:58:40 NZST 2006
On Tue, 2006-04-04 at 16:14 +1200, Richard Hector wrote:
> On Tue, 2006-04-04 at 16:04 +1200, Ian Beardslee wrote:
> > Hi geniuses ... and anyone else who may be able to answer ...
> >
> > How can I go about finding all directories in a filesystem that are empty?
>
> How well does
>
> find / -type d -links 2
As Michael has pointed out off list, that doesn't account for _files_
being in there. Sorry about that :-)
Richard
More information about the wellylug
mailing list