...one had to write a script how to calculate the number of days back to a specified day which would be a sophisticated solution, but that's non-trivial...
Anyway, a quick solution (which also works properly) is:
in the directory you want to check (otherwise use absolute path names):
$ touch 1231010100 mark1
# a file with timestamp Dec 31 2000
$ touch 0101010102 mark2
# a file with timestamp Jan 01 2002
$ find . -newer mark1 ! -newer mark2
# gives you all files from 2001
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.