Re: How to compute length of a recording?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux