diff --git a/source/net/sourceforge/filebot/ui/rename/RenameAction.java b/source/net/sourceforge/filebot/ui/rename/RenameAction.java index e6f79bbc..1d10b926 100644 --- a/source/net/sourceforge/filebot/ui/rename/RenameAction.java +++ b/source/net/sourceforge/filebot/ui/rename/RenameAction.java @@ -169,7 +169,7 @@ class RenameAction extends AbstractAction { if (destinationSet.contains(destination)) throw new IllegalArgumentException("Conflict detected: " + mapping.getValue().getPath()); - if (destination.exists() && !source.equals(destination)) + if (destination.exists()) throw new IllegalArgumentException("File already exists: " + mapping.getValue().getPath()); // use original mapping values