Posted By

loungerdork on 06/09/11


Tagged

find


Versions (?)

Find files last modified by time


 / Published in: Bash
 

  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  

You need to login to post a comment.