Thanks, I realized my script if set to run at @midnight would record the file names with the next day what was recorded the previous day, which would not make sense.
So if one minute of recording happens after 23:59, it will be shoved into the next day, but I can live with it.
This is my script line
mv /home/scott/testmotion/motion-files /home/scott/testmotion/motion-files--$(date +%a-%m-%d-%Y---%H:%M:%S)
Last edited by sdowney717; 07-09-2017 at 09:57 AM.
|