showHelpAndExit(-1);
topFolder=topFolder.getCanonicalFile();
}else{
topFolder = (new File(args[0])).getCanonicalFile();
}
ATextScreenOutput logWin = null;
if(guiMode){
logWin= new ATextScreenOutput(null, false, true);
logWin.setVisible(true);
logWin.appendAndScroll("Processing "+topFolder+"\n");
}
flatten(topFolder,topFolder);
if(guiMode){
logWin.appendAndScroll("done");
}else{
System.exit(0);
}
}