upvote
You have to do `find ... -print0` so find also uses \0 as the separator.
reply
find -print0 will print the files with null bytes as separators

xargs -0 will use a null byte as separator for each argument

printf 'a\0b\0c\0' | xargs -tI{} echo “file -> {}"

reply