Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

find rm files older than 30 days

find /var/log -name "*.log" -type f -mtime +30 -delete 
 
PREVIOUS NEXT
Tagged: #find #rm #files #older #days
ADD COMMENT
Topic
Name
7+8 =