title: Handle gsutil ls and rm command errors if no files present
body: <p>I am running the following command to remove files from a gcs bucket prior to loading new files there. </p>
  
  <pre><code>gsutil -m rm gs://mybucket/subbucket/*
  </code></pre>
  
  <p>If there are no files in the bucket, it throws the "CommandException: One or more URLs matched no objects".</p>
  
  <p>I would like for it to delete the files if exists without throwing the error.</p>
  
  <p>There is same error with <code>gsutil ls gs://mybucket/subbucket/*</code></p>
  
  <p>How can I rewrite this without having to handle the exception explicitly? Or, how to best handle these exceptions in batch script?</p>