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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.