Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete logs older than 7 days linux

find /media/bkfolder/ -mtime +7 -name'*.gz' -exec rm {} ;
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #delete #logs #older #days #linux
ADD COMMENT
Topic
Name
9+5 =