1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

If MOVE is used, then don't Preserve Last Modified because source / destination file is the same, so time stamp can't be transferred from now non-existing source file

This commit is contained in:
Reinhard Pointner 2019-01-05 13:54:48 +07:00
parent 103dd239c2
commit d15a250644

View File

@ -686,7 +686,7 @@ public class CmdlineOperations implements CmdlineInterface {
// preserve Last Modified date
log.forEach((source, destination) -> {
if (destination != null) {
if (destination != null && source.exists()) {
destination.setLastModified(source.lastModified());
}
});