[Ovmsdev] Web frontend

Michael Balzer dexter at expeedo.de
Mon Jan 29 04:10:10 HKT 2018


I should've checked for POSIX compatibility… %s is indeed non standard.

Can you please try…

stat -c %Y somefile



Am 28.01.2018 um 21:05 schrieb Geir Øyvind Vælidalo:
> I get an error:
>
> date +%s -r ./suc.zip
> date: illegal time format
> usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
>             [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
>
> Strange, but it does not seem to work.
> I try with hardcoded times.
>
> Geir
>
>> 28. jan. 2018 kl. 21:00 skrev Michael Balzer <dexter at expeedo.de <mailto:dexter at expeedo.de>>:
>>
>> date +%s -r somefile
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180128/df242d3b/attachment.htm>


More information about the OvmsDev mailing list