Return to Snippet

Revision: 63154
at April 12, 2013 04:24 by laurenceosx


Initial Code
#!/usr/bin/env groovy

// KillCvs.groovy
// Kill all annoying Cvs turd files.

def ant = new AntBuilder()

ant.delete( includeemptydirs: 'true', verbose: 'true' ) {
	fileset( dir: '.', includes: '**/CVS/',       defaultexcludes: 'false', casesensitive: 'no' )
	fileset( dir: '.', includes: '**/.cvsignore', defaultexcludes: 'false', casesensitive: 'no' )
}

Initial URL

                                

Initial Description
Drop this in your project dir and run it.  This will recursively kill CVS files and folders.

Initial Title
Groovy - KillCvs.groovy - Recursive Kill of Cvs Turd Files and Folders

Initial Tags
groovy

Initial Language
Groovy