is there some easy way to remove a directory and all its children (dirs and files)?
i couldnt figure it out, it seems not even the standard remove() from my os can do that (although i wonder what rm -rf uses then, which is exactly what i want to do).

thank you very much!