[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is there another way to find a file that was created|modified|accessed b
Is there another way to find a file that was created|modified|accessed before a certain time?
Wed, 5 Feb 2020 11:30:18 -0800
I would like to get a list of all of the files modified between 2 dates. I
see that there is a -newermt DATE predicate, which works as documented and
which is half the problem. But I do not see an -oldermt DATE predicate.
In reading the archives, I see that there was a discussion of a -mbefore
predicate, but it isn't recognized in find version 220.127.116.11-235f in ubuntu
The best workaround that I have seen is to use the ddiff command in the
dateutils package, and use that with the -mtime N predicate. Is there a
better solution? Seems like a kludge to me.
Jeff Silverman, Linux sysadmin
to five three for phive niner too tree won ate
jeffsilverm 4t gmail.c0m
See my portfolio of writings and talks
- Is there another way to find a file that was created|modified|accessed before a certain time?,
Jeff Silverman <=