I have seen several questions here, but all of them seem to delete the folder as well.
How can I delete only the contents of a particular folder, but keep the folder itself.
Preferably for two conditions:
- Contents
- Deletes recursively under all all subfolders. But keeps the main folder.