aws s3 ls The read operation timed out : <p>I try to get a huge list of files from AWS S3 bucket with this command:</p>

<pre><code>aws s3 ls --human-readable --recursive my-directory
</code></pre>

<p>This directory contains tens of thousands of files, so <em>sometimes</em>, after long pause, I get this error:</p>

<pre><code>('The read operation timed out',)
</code></pre>

<p>I've tried parameter <code>--page-size</code> with different values, but it didn't help. How can I fix this error?</p>
