Skip to content
Discussion options

You must be logged in to vote

I think you'll probably have to use xargs for this.

Something like:

fd --extension png --format $'--input\0{}' --print0 | xargs --null command

of for older versions that don't have --format:

fd --extension png --exec-batch printf '--input\0%s\0' | xargs --null command

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fethbita
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants