Smart cleanup (deletion) of SFV files, v1.04 (2009/07/30)
Posted: July 19th, 2009, 12:41 pm
The attached Python script clean's up (deletes) SFV files in the job directory, but only if they do not contain a reference to any existing non-NFO file in the job directory. Such files are often leftover after unpacking, and are useless.
Remarks:
Remarks:
- The cleanup is performed only in the provided directory; subdirectories inside it, if any, are not affected.
- References to NFO files in an SFV file are ignored.
- SFV files ending with a number, e.g. "foo.sfv.1", "foo.sfv.2", etc. are processed as well.