That is, if I have
-empty-dir-a/
-nonempty-dir-a/
-empty-dir-a/
-empty-dir-a/
file-a
file-a
file-b
I would like
-nonempty-dir-a/
file-a
file-a
file-b
I'm aware that there are many OS-specific solutions to this, but I'd like to stick to elisp, ideally :)
.