Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Conversion specifiers... (Joris)
2. Re: Conversion specifiers... (John B)
3. Re: Conversion specifiers... (John B)
4. Re: on_area_detect script help (Frank Bennett)
----------------------------------------------------------------------
Message: 1
Date: Sat, 14 Mar 2020 14:38:11 +0100
From: Joris <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Conversion specifiers...
Message-ID:
<cal_dzsnn+ntlfkzdpsd+yrdurk8pfcijbvbas+h7sogt0kx...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello all,
> Under Conversion Specifiers it says: "In addition to the above, the
> conversion specifiers include the same options as for the C function
> strftime (3)."
>
Something new I learned today, thanks Dave :-)
If strftime is supported you can just use the formatting string like in the
date command I suggested.
picture_filename "%d %b %g"
This gets you very close to what you are asking.
Kind regards,
Joris
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sat, 14 Mar 2020 13:31:37 -0500
From: John B <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Conversion specifiers...
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII
On Sat, 14 Mar 2020 00:37:00 +0000
Dave Howorth <[email protected]> wrote:
> On Fri, 13 Mar 2020 09:15:44 -0500
> JB <[email protected]> wrote:
>
> > Hi gang,
> >
> > I'd like to be able to have the files of pictures/movies that get
> > saved to my directory to have a different 'text' name to them.
> >
> > Presently they will have %Y%m%d on them and as the file name.
> >
> > What I would prefer to have for both is day month year like this -
> > 13 MAR 20
> > Looking at the 'Conversion specifiers' table in the Motion guide
>
> I'm not entirely sure I know what you mean by this, but I'm assuming
> https://motion-project.github.io/motion_config.html#Configuration_OptionsTopic
>
> Under Conversion Specifiers it says: "In addition to the above, the
> conversion specifiers include the same options as for the C function
> strftime (3)."
>
> The documentation for strftime, as found for example at
> http://man7.org/linux/man-pages/man3/strftime.3.html says: " %b The
> abbreviated month name according to the current locale. (Calculated
> from tm_mon.)"
Aha! Thank you for this information!
>
> So I'd say I do see how to do this, but I'm not going to try; it seems
> a bizarre thing to want to do.
Just your opinion. We all know about those things.
JB
------------------------------
Message: 3
Date: Sat, 14 Mar 2020 13:35:11 -0500
From: John B <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Conversion specifiers...
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII
On Sat, 14 Mar 2020 14:38:11 +0100
Joris <[email protected]> wrote:
> Hello all,
>
>
> > Under Conversion Specifiers it says: "In addition to the above, the
> > conversion specifiers include the same options as for the C function
> > strftime (3)."
> >
>
> Something new I learned today, thanks Dave :-)
> If strftime is supported you can just use the formatting string like in the
> date command I suggested.
> picture_filename "%d %b %g"
>
> This gets you very close to what you are asking.
>
>
> Kind regards,
> Joris
Yes, but I was thinking %y instead of %g. I'll try them out and see what
works. Thanks for the idea.
JB
------------------------------
Message: 4
Date: Sat, 14 Mar 2020 13:09:01 -0600
From: Frank Bennett <[email protected]>
To: Colin Law <[email protected]>
Cc: Motion-user <[email protected]>
Subject: Re: [Motion-user] on_area_detect script help
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 165, Issue 9
*******************************************