@Override public FileVisitResult postVisitDirectory(Path dir, IOException exc) {
if (exc == null) {
log("--> postVisitDirectory dir: " + dir);
Path dir_created = target.resolve(source.relativize(dir));
try {
FileTime time = Files.getLastModifiedTime(dir);
Files.setLastModifiedTime(dir_created, time);
} catch (IOException x) {
System.err.format("ERROR in postVisitDirectory: Unable to copy all attributes to: %s: %s%n", dir_created, x);
}
}