I want to list down the files between two timestamp. But I can not use newer or newermt command as it doesn't support these tokens.

Is there any other way to achieve this? Else I have to write too much of coding .



Dec 01 02:02 Dec 02 05:07

  • I assume you are talking about the -newermt predicate for the find command. Why can't use use it? That's exactly what it's for! – Celada Dec 18 '15 at 5:33

find /directory -type f -newermt "2014-10-08 10:17:00" ! -newermt "2014-10-08 10:53:00"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.