title: cp command failing in Linux
body: <p>I am facing a copy command problem while executing shell script in RHEL 5.</p>
  
  <p>executed command is </p>
  
  <pre><code>cp -fp /fir1/dir2/*/bin/file1 `find . -name file1 -print`
  </code></pre>
  
  <p>error is</p>
  
  <pre><code>cp: Target ./6e0476aec9667638c87da1b17b6ccf46/file1 must be a directory
  </code></pre>
  
  <p>Would you please throw some ideas why it would be failing?</p>
  
  <p>Thanks
  Robert.</p>