Replies: 1 comment
|
You can already express the interval by combining the two built-in modification-time filters. They are ANDed together: fd '^Book.*' -e pdf --changed-within 2026-05-01 --changed-before 2026-05-30
So the corrected relative version of your first command is: fd '^Book.*' -e pdf --changed-within 2026-05-01 --changed-before 3weeksIf you mean the whole month of May, use an exclusive upper boundary of June 1: fd '^Book.*' -e pdf --changed-within 2026-05-01 --changed-before 2026-06-01That avoids accidentally excluding most of May 30 when a bare date is interpreted at midnight. A separate The current option names and accepted |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fd ^Book.*\.* --change-older-than 3weeks --newer 2026-05-01 -e pdfIs there a better way to pass such time duration filter?
proly worth adding something like a “—FromTo” flag that takes two args?
fd ^Book.*\.* --FromTo 05-01-2026 05-30-2026 -e pdfAll reactions