Perfect, thanks :D 

mauirixxx
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mikael
Pedersen
Sent: Monday, February 02, 2009 9:36 PM
To: [email protected]
Subject: Re: [hlds_linux] voice comms audio recording?

Have a look at my script again. It DOES take care of files still being
written.
I am using fuser to accomplish this. If the demo file isn't finished, it
will still have a process owning it, which fuser can detect. My script
only move the files without any owner, thus leaving the unfinished
recording behind.

Mikael


Quoting Kveri <[email protected]>:

> No it doesn't, that's the problem, you have to sort list of demos by 
> modification time in that folder and move n-1 demos, so last 
> (currently
> recorded) will stay where it should be.
>
> Kveri
>
> Rick Payton wrote:
>> Awesome, thanks. Does this get around a demo file still being written

>> to?
>>
>> mauirixxx

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to