We can delete non-empty directory using ftw using FTW_DEPTH. But I want to delete content of directory but not directory itself some thing similar to rm -rf dir/*.
How to achieve this using nftp/ftw ?
We can delete non-empty directory using ftw using FTW_DEPTH. But I want to delete content of directory but not directory itself some thing similar to rm -rf dir/*.
How to achieve this using nftp/ftw ?
You can try this (WARNING, no confirm are required) :
And call your app :