Here's a really handy set of unix commands for finding files matching a specified pattern and moving those files to a specified location.
find /source/path -type f -iname "glob pattern" -print0 | xargs -0 mv --target-directory=/target/path
I used this recently to find and move all video files from a set of folders containing images and video. Here's the command I used:
find ./ -type f -iname "*.MOV" -print0 | xargs -0 mv --target-directory=~/videos
More Information
-
find man page:
http://man7.org/linux/man-pages/man1/find.1.html -
xargs man page:
http://man7.org/linux/man-pages/man1/xargs.1.html -
mv man page:
http://man7.org/linux/man-pages/man1/mv.1.html