title: s3cmd list of contents - only filenames - perl one liner?
body: <p>Currently I'm using <code>s3cmd ls s3://location/ &gt; file.txt</code> to get a list of contents of my s3 bucket and save on a txt. However the above returns dates, filesizes paths and filenames.</p>
  
  <p>for example:</p>
  
  <pre class="lang-none prettyprint-override"><code>2011-10-18 08:52      6148   s3://location//picture_1.jpg
  </code></pre>
  
  <p>I only need the filenames of the s3 bucket - so on the above example I only need <code>picture_1.jpg</code>.<br>
  Any suggestions?</p>
  
  <p>Could this be done with a Perl one liner maybe after the initial export?</p>