[mythtvnz] Deleting files

Tony Sauri hoiho.nz at gmail.com
Tue Sep 17 10:09:44 BST 2013


On 17/09/13 19:51, Worik Stanton wrote:
>> You might like to try manually deleting one of the recording files
>> >that fails to delete.  Just pick one from the mythbackend log.  Log
>> >in as a user in the mythtv group - the one that runs mythfrontend is
>> >a good one to pick, as the mythtv user itself is not normally set up
>> >with the ability to login.  Then use the rm command and see if the
>> >delete works.  For example:
> Hmmm...
>
> I think Iwil create and delete a file.  Doing wat you ask would make the
> file system inconsistant with the database


To help fix your immediate problem of failing recordings because of lack 
of space

You could just delete some files with te suggested command template:

	rm /media/Recordings/2002_20130912040400.mpg

You are right that will cause inconsistencies between the media and the 
database BUT the find_orphans script will detect and clean-up both the 
media and the database (ie it deletes files for which there is no 
database entry AND it can delete database entries where the file on the 
media has gone missing).

Regards

Tony



More information about the mythtvnz mailing list