Page 1 of 1
Deleting Stored ZM Files
Posted: Tue Feb 26, 2008 7:10 am
by ecko3420
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?
Posted: Tue Feb 26, 2008 8:02 am
by cordel
You can delete via the filter window or though the event windows or hard delete the numbered event folders and zm audit will clean the database.
Posted: Tue Feb 26, 2008 10:47 am
by hvisser
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
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
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.