I have a mono app and it delete all empty folders in a folder tree.
Is there a way to do this via the command line? The idea is that I would call it as an external process.
I had tried this:
sudo rm r <folder>
but it deletes folders that have files in it...