Поиск файлов Java рекурсив
try (Stream<Path> walkStream = Files.walk(Paths.get("your search directory"))) {
walkStream.filter(p -> p.toFile().isFile()).forEach(f -> {
if (f.toString().endsWith("file to be searched")) {
System.out.println(f + " found!");
}
});
}
Pleasant Pigeon