[Ovmsdev] Web frontend

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


OK, one more:

perl -e 'print +(stat $ARGV[0])[9], "\n"' somefile



Am 28.01.2018 um 21:14 schrieb Geir Øyvind Vælidalo:
> This wasn’t straight forward… My mac didn’t like the -c.
>
> Geir
>
>> 28. jan. 2018 kl. 21:10 skrev Michael Balzer <dexter at expeedo.de <mailto:dexter at expeedo.de>>:
>>
>> 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
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
>
> _______________________________________________
> 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/7103a051/attachment.htm>


More information about the OvmsDev mailing list