Walter Koch wrote:
> Moin,
>
>   
>> how do I get the duration in a shell script?
>>     
> So sth like
>   echo "$(stat -c %s index.vdr) / 200.0" | bc
> would help you on a bash.
>   

Thank you, very much. I am now using

sumlen=$(echo "$(stat --format=%s "$recdir"/index.vdr) / 200" | bc)


Dirk

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to