I can delete empty directory with rmdir.
Since if I delete some directory -it's parent directory can become empty-I need to delete it too.
Thus what I need is loop of deletions of empty directories.
However I want to limit this loop to the maximum deepness.
Thanks in advance.