[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no test(1) for empty directories
From: |
Aharon Robbins |
Subject: |
Re: no test(1) for empty directories |
Date: |
Tue, 07 May 2002 14:25:19 GMT |
In article <address@hidden>,
Dan Jacobson <address@hidden> wrote:
>No neat and clean way to use test(1) to find empty directories. Sure,
>got -d and -s, but no special -s especially made for directories.
You don't need it. Check for directory and link count of 2.
Arnold
--
Aharon (Arnold) Robbins --- Pioneer Consulting Ltd. address@hidden
P.O. Box 354 Home Phone: +972 8 979-0381 Fax: +1 928 569 9018
Nof Ayalon Cell Phone: +972 51 297-545
D.N. Shimshon 99785 ISRAEL