Using 'xargs' without '-0' or '--null' can lead to unexpected behavior when processing filenames with spaces or special characters. To handle filenames correctly, use 'find -print0' and 'xargs -0' or 'find -exec +'.