How to move files or directories with certain name or extension using Linux mv command?

You can pipe Linux find command output to mv command to move files or directories with certain name or extension.