karelklic on 02/27/08
Last Edited at 02/27/08 12:06pm
new File(args[0]).eachFileRecurse() { f -> if (f ==~ /.*zip$/ || !f.isFile()) return f.delete() println f.toString() + " removed"}
Report this snippet Tweet
Comment:
You need to login to post a comment.