From Dev.to
Filenames with spaces (or newlines) breaking your find | xargs? Use -print0
Plain find ... | xargs splits its input on whitespace, so a file called a b.log turns into two arguments, ./a and b.log. A filename with a newline in it breaks the same way. Here is what that looks li...
