Move file with specific extension from a directory hierarchy to a destination
If you are looking for a command-line solution, use the following:

find /source_root_directory_path -name '*.jpg' -exec mv {} /target_directory_path \;