1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-14 05:15:03 -05:00
filebot/website/scripts/chkall.groovy

10 lines
222 B
Groovy
Raw Normal View History

// filebot -script fn:chkall <folder>
2011-11-04 20:29:59 -04: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*")
}