Randomly move all files with the extension .jpg in the home directory to the directory /tmp/randomly-generated-files.
shuf -e $(find ~ -iname "*.jpg") | xargs -r mv --target-directory=/tmp/randomly-generated-files