[mythtv-users] help using myth.find_orphans.pl

scram69 scram69 at gmail.com
Sat Oct 11 04:13:28 UTC 2008


Following some nasty file system corruption, I ended up with a large
number of recordings files missing from my recordings directory.
Since they are still listed in the database, I can't delete the
database records with either the front end or mythweb.

Trying to use myth.find_orphans.pl, I get "ERROR: no directory found
or specified".  If I use the --dir= option to specify my directory,
the script lists every recording as an "unknown file", and tells me I
have "0 valid recordings".  Is there a way to use the script to
identify and delete db records for which there is no corresponding
file?

Incidentally, I noted that if I had used the --dir= option together
with the --dodelete option to remove "orphaned" files, I would have
inadvertently deleted all my recordings!


More information about the mythtv-users mailing list