How to filter out old files #2922
-
Is there any way to rg all files recursively, but only if they are not older than 3 days or 1 hour or changed between some period? |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
Nov 1, 2024
Replies: 1 comment
-
ripgrep doesn't have facilities for filtering by timestamp. It might grow them some day, but for now, you'll need to use some other tool. e.g., |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BurntSushi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ripgrep doesn't have facilities for filtering by timestamp. It might grow them some day, but for now, you'll need to use some other tool. e.g.,
find ./ some-filter-options -print0 | xargs -0 rg pattern-to-search-for
.