crasch (crasch) wrote,
crasch
crasch

GEEK: How to find all the files that changed on a given date?

Here's what I came up with:

touch -t 200702270000 /tmp/date_marker
touch -t 200702280000 /tmp/date_marker2
find / -newer /tmp/date_marker -and \! -cnewer /tmp/date_marker2 -exec ls -ld {} \;

But that seems pretty kludgy. Anyone have a better suggestion?

Thanks!
Tags: find, geek, programming
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 4 comments