question: public static void main ( String [ ] argv ) { Debug . init ( ) ; boolean toUpper = true ; ArgParser ap = new ArgParser ( "ChangeCase" ) ; ap . add ( "source" , "The directory to search for source svg files." , ArgParser . TO_END ) ; ap . add ( "target" , "The target directory to place gathered and modified files." , 1 ) ; ap . add ( "verbose" , "Talk alot." ) ; if ( argv . length == 0 ) { ap . bail ( "" , true ) ; } ap . parse ( argv ) ; String [ ] sourceDirs ; sourceDirs = ap . getArgValues ( "source" ) ; if ( sourceDirs == null ) { ap . bail ( "Need source directories" , true ) ; } String [ ] targetDirs ; targetDirs = ap . getArgValues ( "target" ) ; if ( targetDirs == null || targetDirs . length > 1 ) { ap . bail ( "Need target directory" , true ) ; } boolean verbose = false ; String [ ] verboseTest = ap . getArgValues ( "verbose" ) ; if ( verboseTest != null ) { verbose = true ; } if ( targetDirs != null && sourceDirs != null ) { SVGSourceFileReorganizer cc = new SVGSourceFileReorganizer ( new File ( targetDirs [ 0 ] ) ) ; cc . setVerbose ( verbose ) ; for ( int i = 0 ; i < sourceDirs . length ; i ++ ) { cc . handleEntry ( new File ( sourceDirs [ i ] ) ) ; } } }
target:  Given a set of files or directories, parade through them to change their case.