I am trying to find empty folders on the IFS within a folder structure. My
end goal is to remove/delete the empty folders.
I have found information about the QSH find command to find empty folders.
find /home/kcrawford -type d -empty
gives me this error.
find: 001-2187 The option -empty is not valid.
What do I need to do to get the -empty to work?
This works. find /home/kcrawford -type d
I am open to other solutions.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.