gsutil - Excluding files while synchronize contents of two buckets using regex on windows
<p>I am fetching data from a private Google Cloud Bucket using python's gsutil.</p>

<p>To do so, I'm using rsync, to synchronize two folders.</p>

<ul>
<li>Here is the syntax: <code> gsutil -m rsync -x '<i>pattern</i>' src_url dst_url </code></li>
</ul>

<p>Option -m is used for multithreading and option -x is used to exclude files.</p>

<p>The pattern I'd like to exclude is csv files ending in <code>app_version</code>.</p>

<p>This is what I've come up with :</p>

<p><code>gsutil -m rsync -x '.*app_version\.csv$' gs://pubsite_prod_rev_04681594767840986453/stats/installs/ test/
</code></p>

<p>But this regular expression pattern doesn't work.
It syncs csv files also.</p>

<p>Can any one please help to make this Regex work?</p>