Find files last modified by time


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Search for files modified before the past n days:
  2. # find path -mtime -n
  3. # files modified within the last 7 dats
  4. find . -mtime -7
  5. # Search for files modified before the past n days:
  6. # find path -mtime +n
  7. find . -mtime +3

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.