Welcome To Snipplr
Everyone's Recent Groovy Snippets Tagged directory
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
This (almost) one-liner cascades into all subdirectories and deletes the files first, then the directories. Makes deleting a directory really easy. This was originally posted by John Wilson into the Groovy user list.
2
1374
posted 17 years ago by hansamann
« Prev 1 Next »