Search found 1 match

by crunchypancake
19 Mar 2024, 17:32
Forum: Help and Support
Topic: Override existing file - different extension
Replies: 9
Views: 9020

Re: Override existing file - different extension

In case it could be helpful for anybody else, this is a simple post-processing script I am using to delete duplicates, in cases where the --action replace doesn't cut it.

{ source, target, metadata ->
def fileName = target.nameWithoutExtension
target.dir.listFiles { file ->
file != target ...