Search found 1 match
- Tue Dec 23, 2008 11:15 pm
- Forum: User Contributions
- Topic: Nugget's Archive Old Events Script
- Replies: 6
- Views: 14947
Great Script.
Four years later I will fix a bug in this. The outdir variable here should be changed. cat /tmp/old_event.$$ | grep -v "^Id" | while read event; do id="`echo $event|awk '{ print $1 }'`" zone="`echo $event|awk '{ print $2 }'`" event_date="`echo $event|awk '{ print $3 }'`" outdir="/usr/local/archive ...