Find all files with the extension ".jpg" in the entire file system, calculate the MD5 checksum for each file, sort the checksums, remove duplicates, and move all the files to the /tmp/ directory.
find / -type f -name "*.jpg" -exec md5sum {} \; | awk '{print $2}' | sort | uniq | xargs -I {} mv {} /tmp/