wacschk — Perform routine sanity checks on Wacs collection
wacschk set_numberwacschk [--dnl]
model_numberwacschk [--cache] set_numberwacschk [--cache] directory_path
set_numberthe number of the set you wish to have checked.
model_numberthe number of the model you to check download details for.
directory_paththe path to the sets you wish to check - this selects everything within this directory and all it's sub-directories
--dnl OR --downloadspecifies that download details should be checked rather than set details - following argument is then expected to be a model number.
specified the content cache links/generated file should be checked for this set, or sets in this path
The wacschk command is used to perform various
standard checks on elements of the Wacs collection. When passed a set number
it performs a number of simple checks to make sure the set files do actually
exist in the location specified in the Wacs database. With the addition of
a --dnl argument and given a model number, it checks all
sets for that model are either within the WACS system or waiting to be unpacked
and marked up in the download area. Using the --cache, it
checks the rules for named video files appearing in the content cache area and
reports on any issues found.
wacschk --dnl 123 would check all the download
records for model no 123 making sure that those marked
as completed had an associated set number and that those marked as pending
did indeed have the necessary archive file in the download area waiting to
be unpacked.
wacschk --cache 4128 would check that the content
cache mechanism was configured for set number 4128 and
that the relevant files or links are present.