title: Need to rename the attached file name while sending mail in unix shell script
body: <pre><code>mail -s "$ENV : $REPORT_NAME Report for $BUSINESS_DATE " -a "$FILE_NAME" $EMAIL_ID
  </code></pre>
  
  <p>I have this command which is working fine in shell script, now my requirement is to rename the attached file.</p>
  
  <p>suppose file name is <code>A.txt</code>
  want to send <code>B.txt</code></p>
  
  <p>Please help me to get command.</p>