
Re: Copy Zoneminder Files From Events Directory
I put the script in 'vim' and cleaned up the formatting, then put it back in a set of Code tags for you.
You are not
copying files, you are
moving files. Plus you appear to be doing this
outside of ZM, which I would expect to break things in ZM. If you want to
copy then you should replace this line ...
... with this line:
I would also completely
remove this section:
Then set up a filter or filters inside ZM to manage removal of events and files.
All that said, why exactly are you moving the files at this point? Perhaps we can help you come up with a way to do what you want that does not break ZM.
