Find all files with the extension ".sh" in the current directory and its subdirectories, and rename them to a random 8-character string followed by ".sh".
awk -F: 'BEGIN { srand() ; printf "%s\n", "find / -xdev -name \"*.sh\" | xargs -I{} mv {} $(dirname {})/$(basename {}|md5sum|head -c 8).sh" }'