How to list file types in the current directory.

#!/bin/bash
fileTypes=("/*.NEF" "/*.JPG")
for i in "${fileTypes[@]}" ; do
  echo $i
done