Initially published on 2009-03-14.
The script should work on any GNU/Linux system, and probably on other *nixes. It is written in PHP, so make sure you have PHP (in Debian/Ubuntu, specifically the package named
$ ls [APNF]_Eternal_Family_[6ACF83C3].avi $ filename2sfv 1 checksum(s) written to filename2sfv.sfv.
filename2sfv.sfv will contain:
; Generated by filename2sfv v.2009-03-14 <http://romanrm.ru/en/filename2sfv> ; at 2009-03-14 17:02:09 ; [APNF]_Eternal_Family_[6ACF83C3].avi 6acf83c3
Save the file as
filename2sfv, then set it as executable (
chmod +x filename2sfv).
For convenience, you may copy or symlink the script to a dir which is in the system PATH, e.g.