mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
* exclude existing files from rename map
This commit is contained in:
parent
c58b3df754
commit
cbb50a72a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user