title: Remove files in directory and ignore if empty-BASH
body: <p>By using the command :</p>
  
  <pre><code>rm /file_path/*.csv
  </code></pre>
  
  <p>I can delete all csv files in the required folder.However if the directory is empty or there are no csv files I get the following error:</p>
  
  <pre><code>No such file or directory
  </code></pre>
  
  <p>How do I avoid this error?I have this logic in a script with certain downstream dependancies so throwing this error will cause the rest of my code to stop.Whats the best way in bash to delete files only if they exist in the directory?</p>