2011-12-27 18:54:25 +00:00
|
|
|
// filebot -script "http://filebot.sf.net/scripts/chkall.groovy" <folder>
|
2011-11-05 00:29:59 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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*")
|
|
|
|
}
|