[mythtv-users] 0byte check suggestion
covert covert
thecovert+mythusers at gmail.com
Tue Dec 22 00:52:40 UTC 2009
On Tue, Dec 22, 2009 at 3:49 AM, Eric Sharkey <eric at lisaneric.org> wrote:
> On Mon, Dec 21, 2009 at 8:22 AM, Dave Richardson <mythtv at derdev.com> wrote:
>> and you would find and delete this way
>>
>> find . -size 0 -exec rm -f {} \;
>
> That works, but:
>
> find . -size 0 -delete
>
> is a little easier.
>
> Eric
I don't need to delete them but just be alerted to the fact there
being generated So I know the machine needs my attention.
I had the idea to do it via Myth / SQL but both your idea's lead me to
this idea.
find . -mmin -21 -mmin +1 -size 0
Ran every 20 minutes on a cron job. If there is output, email me.
Thanks.
More information about the mythtv-users
mailing list