Haven't tested it, but you may also need to throw a "tr '\n' '\0'" in there and call xargs with "-0" to make it happy.
This will still break on files with a CR in the filename.
(CRs are allowed in unix filenames but, imho, they should not be.)
Haven't tested it, but you may also need to throw a "tr '\n' '\0'" in there and call xargs with "-0" to make it happy.
This will still break on files with a CR in the filename.
(CRs are allowed in unix filenames but, imho, they should not be.)