sudo find ./ -name '*.jpg' -exec cp {} ./ \;
Note: Copy the jpg of the current directory [the pictures that may be in the current subdirectory] to the current directory
sudo find ./ -name '*.jpg' -exec cp {} ./ \;
Note: Copy the jpg of the current directory [the pictures that may be in the current subdirectory] to the current directory