limiting mdfind on Terminal to files changed in the last x minutes/hours?
You would use the time variable- $time.now and subtract the number of seconds- $time.now(-300) to get 5 minutes before the current time. Next, you would use the operator &gt;= for the comparison. To put it all together-

 mdfind -onlyin . 'kMDItemFSContentChangeDate &gt;= $time.now(-300)'