PDA

View Full Version : recursive removal of dirs



soul_rebel
13th August 2007, 17:01
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!

jpn
13th August 2007, 17:24
Please, search the forums. Thank you! :)

How to erase all the files and folders in the Selected existing directory (http://www.qtcentre.org/forum/f-qt-programming-2/t-how-to-erase-all-the-files-and-folders-in-the-selected-existing-directory-8240.html)
how to recursive a directory in qt? (http://www.qtcentre.org/forum/f-qt-programming-2/t-how-to-recursive-a-directory-in-qt-4307.html)
remove directory empty or not empty (http://www.qtcentre.org/forum/f-newbie-4/t-remove-directory-empty-or-not-empty-4166.html)