Welcome To Snipplr


Everyone's Recent Groovy Snippets Tagged file



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