Dealing with filename spaces in Perl

The following command to replace text in place in multiple files in a directory is tripping up on filename spaces (Windows environment). I really don't know Perl.

find '\\server\directory' | xargs perl -pi -e 's/textA/textB/g'

Mike

xargs -0 ( gnu xargs supports this )

1 Like

Argh! Figured it was a perl problem not an xargs delimiter issue. Thanks.

Mike