You should also take into account that -exec nicely handles filenames/paths with spaces, but when you pipe in the output from find to another program that can cause problems. Therefore some programs that expect a list of filenames from stdin can be given an option to have those filenames NUL seperatedseparated (often -0 or --null). And find has and option to give them to the next program in that way by specifying: -print0
 
                