0
0
0xC0CAC01A2021-05-04 17:34:02
linux
0xC0CAC01A, 2021-05-04 17:34:02

How to find files in Linux created on a specified day of the year (any)?

What is the command in Linux to find files created on a specified day (say, February 3) of any year?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2021-05-04
@0xC0CAC01A

find . -exec ls -l --time-style=full {} \; | grep -P '\d{4}-02-03'

A
AUser0, 2021-05-04
@AUser0

Looks for files created after September 29, 2008 (but not after September 30 of the same year, inclusive):

find . -type f -newerc 2008-09-29 ! -newerc 2008-09-30

R
Romses Panagiotis, 2021-05-04
@romesses

I didn’t use it, I just found it in a search engine:
https://github.com/kashav/fsql

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question