Find all files in the current directory with the extension ".sh", then move them to the "archives" directory in the home directory.
find ~ -maxdepth 1 -type f -name '*.sh' | xargs -I{} mv -t ~/archives {}