mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
* if output is filtered using file arguments, only print history entries where the final destination file exists
This commit is contained in:
parent
d6b8c187a0
commit
3dc145b55e
@ -6,7 +6,7 @@ def template = new groovy.text.GStringTemplateEngine().createTemplate(format)
|
||||
|
||||
// use args to list history only for the given folders if desired
|
||||
def accept(from, to) {
|
||||
args.empty ? true : args.find{ to.absolutePath.startsWith(it.absolutePath) }
|
||||
args.empty ? true : args.find{ to.absolutePath.startsWith(it.absolutePath) } && to.exists()
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user