Find all files in the current directory (and its subdirectories) whose name matches the pattern '*.*' and change the permissions so that the user has execute permission, all users have read and write permission, and all other permissions are removed for the first four files found.
find . -iname '*.*' | chmod u+x,a+rw-x $(head -n4)