[Script] Generate SFV files

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 24218
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[Script] Generate SFV files

Post by rednoah »

This post-processing script will generate SFV files with CRC32 checksums for each newly processed file in each folder:

Groovy: Select all

{ source, target ->
	NEWLINE(target.dir / target.dir.name + '.sfv') {
		target.name + ' ' + any{ source.CRC32 }{ target.CRC32 }
	}
}
:idea: Please read the FAQ and How to Request Help.
Post Reply