Find all files (with any name) in the root directory and its subdirectories, excluding files with the extension ".sh", and move them to the last directory in the PATH environment variable.
find $(find / -name "*" -maxdepth 2) ! -name "*.sh" -exec mv {} $(echo $PATH | rev | cut -d":" -f1) \;