./dq.sh: line 199: conditional binary operator expected
./dq.sh: line 199: syntax error near `=~'
./dq.sh: line 199: ` if [[ "$getfile" =~ ${FILTERMATCH[$index]} ]]; then'
I'm not that good in the terminal either. Hope you have some clues about whats wrong.