Subversion Repositories ALCASAR

Rev

Rev 1214 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1214 Rev 1217
Line 5... Line 5...
5
DIR_LOG="/var/log/nfsen/profiles-data/live/ipt_netflow"
5
DIR_LOG="/var/log/nfsen/profiles-data/live/ipt_netflow"
6
DIR_SAVE="/var/Save/logs/firewall"
6
DIR_SAVE="/var/Save/logs/firewall"
7
EXPIRE_DELAY=7
7
EXPIRE_DELAY=7
8
 
8
 
9
cd $DIR_SAVE
9
cd $DIR_SAVE
10
find $DIR_LOG -mtime +$EXPIRE_DELAY -name 'nfcapd.*' | xargs tar -czf tracability.log-$NOW.tar.gz;
10
find $DIR_LOG -mtime $EXPIRE_DELAY -name 'nfcapd.*' | xargs tar -czf tracability.log-$NOW.tar.gz;
11
 
11
 
12
exit 0
12
exit 0