Welcome To Snipplr


Everyone's Recent Groovy Snippets Tagged file



« Prev 1 Next »
Safe way to recursive delete directory
0 3740 posted 12 years ago by alces
0 1079 posted 14 years ago by ragnarokkrr
Removes diacritics from file name before adding it to the archive. Archive file name retains diacritics.
0 2574 posted 17 years ago by karelklic
Very basic but I use various variations all the time.
0 2675 posted 17 years ago by karelklic
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 2430 posted 18 years ago by hansamann
« Prev 1 Next »