Skip to content

--changed-within with an absolute file path? #1579

Answered by tmccombs
xfzv asked this question in Q&A
Discussion options

You must be logged in to vote

ah, yeah.

This isn't really what fd was designed for.

But you could do it with something like:

$ fd --changed-within=60min --fixed-strings "$(basename "$output")" "$(dirname "$output")"

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@xfzv
Comment options

@tmccombs
Comment options

tmccombs Oct 2, 2024
Collaborator

Answer selected by xfzv
@xfzv
Comment options

@tmccombs
Comment options

tmccombs Oct 2, 2024
Collaborator

@xfzv
Comment options

@tavianator
Comment options

# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
3 participants