Find all files in the /etc/ directory that are not named with the .conf extension and replace all whitespace characters with a backslash followed by a whitespace character.
find /etc/ -type f ! -name '*.conf' | xargs sed 's/\s/\\\s/g'