// *-- Run the directory scan for each directory in the list
DirTools dirTools = new DirTools();
for (int i = 0; i < incDirs.length; i++)
{ logger.info("Start scanning " + incDirs[i]);
dirTools.dirScan(incDirs[i], filtersFile, taskFile, skipHidden, followLinks);
logger.info("Finished scanning " + incDirs[i]);
}
// *-- Read the task file into a hashset and remove dups.
logger.info("Removing duplicate file names from task file");