1. [root@localhost audit]# ll 
  2. 总用量 14788 
  3. -rw------- 1 root root 4632650 10月 19 09:12 audit.log 
  4. -r-------- 1 root root 5243056 10月 16 18:32 audit.log.1 
  5. -r-------- 1 root root 5242984 10月 13 19:33 audit.log.2 
  6. [root@localhost audit]# find . -mtime +7 -exec rm -rf {} \; 
  7. [root@localhost audit]# ll 
  8. 总用量 14788 
  9. -rw------- 1 root root 4632650 10月 19 09:12 audit.log 
  10. -r-------- 1 root root 5243056 10月 16 18:32 audit.log.1 
  11. -r-------- 1 root root 5242984 10月 13 19:33 audit.log.2 
  12. [root@localhost audit]# find . -mtime +4 -exec rm -rf {} \; 
  13. [root@localhost audit]# ll 
  14. 总用量 9660 
  15. -rw------- 1 root root 4632650 10月 19 09:12 audit.log 
  16. -r-------- 1 root root 5243056 10月 16 18:32 audit.log.1 
  17. [root@localhost audit]#