1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-14 21:35:03 -05:00
filebot/website/scripts/chkall.groovy
Reinhard Pointner 43f844b6f3 * added TheMovieDB artwork fetcher
* move shared scripts folder
2011-12-27 18:54:25 +00:00

10 lines
258 B
Groovy

// filebot -script "http://filebot.sf.net/scripts/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*")
}