Move all image files at any subfolder (recursively) to a single folder.
In the example below, I need to move all images from all subfolders to a single folder
find /absolute/path/to/images -name '*.png' | xargs -I files mv files /absolute/image/newpath
find /absolute/path/to/videos -name '*.mp4' | xargs -I files mv files /absolute/video/newpath
find /absolute/path/to/images -name '*.jpg' | xargs -I files mv files /absolute/photo/newpath