/scripts/alcasar-netflow.sh |
---|
7,6 → 7,6 |
EXPIRE_DELAY=7 |
cd $DIR_SAVE |
find $DIR_LOG -mtime +$EXPIRE_DELAY -name 'nfcapd.*' | xargs tar -czf tracability.log-$NOW.tar.gz; |
find $DIR_LOG -mtime $EXPIRE_DELAY -name 'nfcapd.*' | xargs tar -czf tracability.log-$NOW.tar.gz; |
exit 0 |