How to find empty directories on Linux or UNIX Server?
Here is the very easy command to find all the empty directories on a Linxu/UNIX server:
# find dir -empty -type d -depth -print
Note: The “-empty” parameter doesn’t work on AIX.
How to find empty directories on Linux or UNIX Server?
Here is the very easy command to find all the empty directories on a Linxu/UNIX server:
# find dir -empty -type d -depth -print
Note: The “-empty” parameter doesn’t work on AIX.