Sysadmin
>
UtilitIes
>
FindEmptyDirs
Changes
|
Index
|
Search
Tags
:
(edit)
How to find (and delete) empty directories with command line tools
You can use the standard CLI tool find.
find . -type d -empty -print
and if you like to delete all the empty dirs
find . -type d -empty -print --exec rmdir {} \;
E
dit
|
A
ttach
|
M
ore topic actions
Copyright ©