Move file with specific extension from a directory hierarchy to a destination I have a directory hierarchy containing many images with .jpg file-extension, and there are multiple folders containing these images. There are many .json files as well in these folders.

Is there a way to scan all these subfolders and move the .jpg files to a specific destination/folder?
If you are looking for a command-line solution, use the following:

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