mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 06:15:02 -05: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:
parent
103dd239c2
commit
d15a250644
@ -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());
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user