finding empty directories unix
Posted
by soField
on Stack Overflow
See other posts from Stack Overflow
or by soField
Published on 2010-05-11T12:57:25Z
Indexed on
2010/05/11
13:04 UTC
Read the original article
Hit count: 194
i need to find empty directories for given list of directories some directories have directories inside it
if inside directories also empty
i can say main directory is empty otherwise it's not empty
how can i test this
for example
A>A1(file1),A2 this is not empty beacuse of file1
B>B1(no file) this is empty
C>C1,C2 this is empty
thanks
© Stack Overflow or respective owner