title: rename multiple files in a directory
body: <p>I have a bunch of files in a directory. The file names are created like this: a_dc.ac.txt, a_dc.aa.txt, a_dc.cc.txt and so on. I need to replace all the a_dc portion of the names to a_adj. I tried the following but it's not working:</p>
  
  <p>rename 's/a_dc/a_adj/s' * </p>
  
  <p>Is there any other way to fix this? I am not sure why rename is not working. </p>
  
  <p>P.S. I am using centos</p>