Search found 2 matches
- Tue Mar 02, 2010 6:33 am
- Forum: ZoneMinder 1.24.x
- Topic: Disk Space used per camera?
- Replies: 6
- Views: 3967
After much digging around on Google I found an answer. Noyes lines 2 and 3 #!/bin/bash export LANG=en_US.UTF-8 LANG=en_US.UTF-8 cd /var/cache/zoneminder/events for d in `ls -latr|grep \>|awk '{print $8}'`;do du -sDm $d;done >/tmp/events.tmp df|grep -v none|grep -v udev >/tmp/disksize.tmp # Now build ...
- Tue Mar 02, 2010 5:35 am
- Forum: ZoneMinder 1.24.x
- Topic: Disk Space used per camera?
- Replies: 6
- Views: 3967
Thanks for this its handy for me but I get an error when I try to run this script from cron schedules in webmin. du: cannot access `10:34': No such file or directory du: cannot access `14:22': No such file or directory du: cannot access `14:23': No such file or directory du: cannot access `14:24 ...