Search code examples
linuxlistunixsunos

How do I list files between two time stamps in a certain directory? (SunOS)


i.e.

List any files between 2014-01-25 1300 - 2014-01-25 2000 in

Cheers


Solution

  • You can use the find command with multiple selectors - e.g. find . -mtime +1 -mtime -3. It can be used with ctime, atime, etc., as well.