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. Conversion specifiers... (JB)
   2. Re: <SOLVED> A quick question... (JB)
   3. Re: Conversion specifiers... (Joris)
   4. Re: Conversion specifiers... (JB)
   5. Re: Conversion specifiers... (Dave Howorth)


----------------------------------------------------------------------

Message: 1
Date: Fri, 13 Mar 2020 09:15:44 -0500
From: JB <yona...@riseup.net>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Conversion specifiers...
Message-ID: <20200313091544.08b12408@ACAB.TOSIAR>
Content-Type: text/plain; charset=US-ASCII


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 don't see
  any way to do this, does this mean it can't be done and the specifiers are the
  'only' way to do things?

  In KDE for example, I can set the date this way in the panel in the lower
  right corner of the screen, so I was just curious if it could also be done in
  Motion.

        JB



------------------------------

Message: 2
Date: Fri, 13 Mar 2020 10:57:23 -0500
From: JB <yona...@riseup.net>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] <SOLVED> A quick question...
Message-ID: <20200313105723.1cbf8111@ACAB.TOSIAR>
Content-Type: text/plain; charset=US-ASCII

On Thu, 12 Mar 2020 18:10:54 -0500
JB <yona...@riseup.net> wrote:

>   Hey guys,
> 
>   I made a mask.pgm, but the Motion guide doesn't say where to put it to be
> read when I start Motion up. Where should it be placed?
> 
> 

  <answers from rmbusy and Colin Law solved it>

  Got it! Thanks you two!

        JB



------------------------------

Message: 3
Date: Fri, 13 Mar 2020 17:16:30 +0100
From: Joris <jo...@v5.be>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Conversion specifiers...
Message-ID:
        <CAL_dZsm2cbOBW-i=uUUzOtW47==mps=b06nbpt0+zqtfxn-...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

JB,

As far as I know this is not possible from within motion's file spec.

My first, perhaps somewhat misguided, instinct would be to use a little
script to do the rename; to get you started: date -d "$FILENAMEDATE" +"%d
%b %g"
You could then run before accessing the files, or from cron or hook it into
motion.conf (on_event_end). Use common sense and caution based on your
disk, cpu and number of events ;-)


Kind regards,
Joris


Op vr 13 mrt. 2020 om 15:17 schreef JB <yona...@riseup.net>:

>
> 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 don't
> see
>   any way to do this, does this mean it can't be done and the specifiers
> are the
>   'only' way to do things?
>
>   In KDE for example, I can set the date this way in the panel in the lower
>   right corner of the screen, so I was just curious if it could also be
> done in
>   Motion.
>
>         JB
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Fri, 13 Mar 2020 18:12:51 -0500
From: JB <yona...@riseup.net>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Conversion specifiers...
Message-ID: <20200313181251.7373b84e@ACAB.TOSIAR>
Content-Type: text/plain; charset=US-ASCII

On Fri, 13 Mar 2020 17:16:30 +0100
Joris <jo...@v5.be> wrote:

> JB,
> 
> As far as I know this is not possible from within motion's file spec.
> 
> My first, perhaps somewhat misguided, instinct would be to use a little
> script to do the rename; to get you started: date -d "$FILENAMEDATE" +"%d
> %b %g"
> You could then run before accessing the files, or from cron or hook it into
> motion.conf (on_event_end). Use common sense and caution based on your
> disk, cpu and number of events ;-)
> 
> 
> Kind regards,
> Joris
> 

  Well drat. I kinda figured that but thought it best to ask. The script thing
  would be just too much to mess with. Maybe, just maybe, if I can remember,
  I'll try to find out how the KDE people do it with the clendar thing I spoke
  about in my OP. Maybe it'll be something that isn't stuck to KDE and can be
  used by anyone (I hope that made sense, heh, I'm not a programmer).

  Thanks anyway, Joris, much appreciated.

        JB



------------------------------

Message: 5
Date: Sat, 14 Mar 2020 00:37:00 +0000
From: Dave Howorth <d...@howorth.org.uk>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Conversion specifiers...
Message-ID: <20200314003700.62617...@acer-suse.lan>
Content-Type: text/plain; charset=US-ASCII

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.)"

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.

PS I'm replying to your original mail since you chose to cut out the
relevant material I wanted to quote from your response to Joris.

> I don't see any way to do this, does this mean it can't be done and
> the specifiers are the 'only' way to do things?
> 
>   In KDE for example, I can set the date this way in the panel in the
> lower right corner of the screen, so I was just curious if it could
> also be done in Motion.
> 
>       JB



------------------------------



------------------------------

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 8
*******************************************

Reply via email to