Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1213 → Rev 1214

/scripts/alcasar-netflow.sh
0,0 → 1,12
#!/bin/bash
 
NOW=$(date +%G%m%d)
DIR_SAVE="var/Save/logs/firwall/"
DIR_LOG="/var/log/nfsen/profiles-data/live/ipt_netflow"
DIR_SAVE="/var/Save/logs/firewall"
EXPIRE_DELAY=7
 
cd $DIR_SAVE
find $DIR_LOG -mtime +$EXPIRE_DELAY -name 'nfcapd.*' | xargs tar -czf tracability.log-$NOW.tar.gz;
 
exit 0