Linux find command

  • Delete log files more than 30 days old
    • find /path/to/log/ -type f -mtime +30 -delete
  • Find file modified in last day
    • find /path/ -type f -mtime -1 -ls

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer