mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-18 07:15:07 -05:00
10 lines
270 B
Groovy
10 lines
270 B
Groovy
|
// filebot -script "http://filebot.sourceforge.net/data/shell/chkall.groovy" <folder>
|
||
|
|
||
|
/*
|
||
|
* Check all sfv/md5/sha1 files and stop if a conflict is found
|
||
|
*/
|
||
|
args.getFiles().findAll { it.isVerification() }.each {
|
||
|
if (!check(file:it))
|
||
|
throw new Exception("*ERROR*")
|
||
|
}
|