title: How to clean ctrl+z in linux file?
body: <p>I have copied some text files from windows to redhat machine using putty. When i try to execute the files . I am getting error because <kbd>ctrl</kbd>+<kbd>z</kbd> was added in that file.</p>
  
  <p>I have used this command </p>
  
  <pre><code>tr -d '\15\32' &lt;  /path/gems/spec/rms.spec &gt;  /path/gems/spec/rms.spec
  </code></pre>
  
  <p>But the above command is annoying because I have 1000+ <code>.spec</code> files under various folder. </p>
  
  <p>Is there any option in linux command to identify the <code>.spec</code> files in the directory and clean the <kbd>ctrl</kbd>+<kbd>z</kbd> added in the file.</p>
  
  <p>Thanks in advance</p>