Welcome To Snipplr


Everyone's Recent Groovy Snippets Tagged file



« Prev 1 Next »
Safe way to recursive delete directory
0 4138 posted 13 years ago by alces
0 1329 posted 15 years ago by ragnarokkrr
Removes diacritics from file name before adding it to the archive. Archive file name retains diacritics.
0 2921 posted 18 years ago by karelklic
Very basic but I use various variations all the time.
0 3400 posted 18 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 2784 posted 19 years ago by hansamann
« Prev 1 Next »