Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
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 motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net 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 <jo...@v5.be> To: Motion discussion list <motion-user@lists.sourceforge.net> 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 <yona...@riseup.net> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Conversion specifiers... Message-ID: <20200314133137.58b01da5@ACAB.TOSIAR> Content-Type: text/plain; charset=US-ASCII On Sat, 14 Mar 2020 00:37:00 +0000 Dave Howorth <d...@howorth.org.uk> wrote: > On Fri, 13 Mar 2020 09:15:44 -0500 > JB <yona...@riseup.net> 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 <yona...@riseup.net> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Conversion specifiers... Message-ID: <20200314133511.38030ff1@ACAB.TOSIAR> Content-Type: text/plain; charset=US-ASCII On Sat, 14 Mar 2020 14:38:11 +0100 Joris <jo...@v5.be> 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 <fbennet...@gmail.com> To: Colin Law <clan...@gmail.com> Cc: Motion-user <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] on_area_detect script help Message-ID: <042d3df1-6403-24b3-2ea2-cbf7fb4e9...@gmail.com> Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 165, Issue 9 *******************************************