title: How to get files do not match a pattern
body: <p>Here is my script</p>
  
  <pre><code>data_dir="/home/data"
  shopt extglob
  files=!($data_dir/*08142014*)
  echo ${files[@]}
  
  for file in $files[@]
  do 
    #blabla
  done
  </code></pre>
  
  <p>/home/data contains multiple files with different date info within file name, thus I should be able to get a list of files that does not contain "08142014".</p>
  
  <p>But kept get syntax error. It seems files is just "!(/home/data/<em>08202014</em>)", while I want a list of file names.</p>
  
  <p>Did I miss anything? Thanks</p>