Deleting Stored ZM Files
Deleting Stored ZM Files
So I have read the ZM manual up and down, i was wondering if there is another way of deleting video besides doing a hard delete?
If you are talking about just video (like mpg files generated when uploading via email.)
I have the following script which runs daily via cron to delete
I am sure there are other ways, but it works quite well for me.
If you are talking about full events (the individual jpg frames created when recording), as Cordel said, the filter window is probably your best place.
I have the following script which runs daily via cron to delete
Code: Select all
#!/bin/bash
cd /tmp
find / -name E*.mpg > Events.lst
awk '{print "rm -vf "$0}' Events.lst > Events.del
chmod +x Events.del
./Events.del > Events.log
rm -vf Events.lst
rm -vf Events.del
If you are talking about full events (the individual jpg frames created when recording), as Cordel said, the filter window is probably your best place.