I want to remove all directories (and subdirectories) that are empty - in the current directory.
One command I know that will accomplish this is:
$ find . -type d -empty -exec rmdir -v {} \; 2>/dev/null
Is there any other single command - NOT script, or chaining of commands
via pipes - that that can accomplish this?
If there isn't any other single command to accomplish this, I'll entertain other
methods. However, I'm primarily interested in 'siingle' commands!!!!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.