if (line.hasOption("w")) {
logger.log(Level.FINE,
"write caught addresses (field '"
+ line.getOptionValue("w") + "')");
ExifToolWriter writer = new ExifToolWriter();
if (line.hasOption("b")) {
writer.setBackupMode(false);
}
if (line.hasOption("p")) {
System.out.println("Setting "
+ line.getOptionValue("p")
+ " as path to ExifTool...");
try {
writer
.setExifToolPath(line
.getOptionValue("p"));
} catch (IOException ioe) {
System.out
.println("An error occured while setting the ExifToolPath: "