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: on_area_detect script help (walexand) ---------------------------------------------------------------------- Message: 1 Date: Sat, 7 Mar 2020 17:30:36 +0100 From: walexand <w.alexan...@gmx.de> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] on_area_detect script help Message-ID: <8c49eae1-0356-138c-3eed-1e470093b...@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Try something like this: on_area_detected sh /s/motion/save.sh %f or on_area_detected /bin/bash /s/motion/save.sh %f or put the command in quotation marks. On 07.03.20 00:22, Frank Bennett wrote: > I'm running motion 4.2.2. I'm getting area_detect in the log file but getting > nothing from the save.sh script. running: > $ /usr/local/bin/motion -c /s/motion/config/motion.conf > I get: > mv: missing destination file operand after 'keep/' > Try 'mv --help' for more information. > I get video strips for all movement and want to keep the ones in the selected > area. > > Suggestions ? > > thanks, > Frank > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > $ cat /etc/issue > Ubuntu 18.04.2 LTS \n \l, 64b > > In /s/motion/config/camera2.conf* > area_detect 69 > on_area_detected /s/motion/save.sh %f > * > > *$ cat /s/motion/save.sh > #!/bin/bash > echo $1 > mv $1 keep/ > * > > > > _______________________________________________ > 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 > ------------------------------ ------------------------------ 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 2 *******************************************