GoogleCloudPlatform / GoogleCloudPlatform/gsutil

gsutil rsync include glob

Open
#327 0 comments 14 reactions 0 assignees View on GitHub
Feature Request
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Currently gsutil rsync has -x for an exclude regexp, but it does not have one for an include regexp. It's more challenging to build the exclude regexp when the desire is to only download/rsync files matching a particular glob.

For example, this is not easy:

```
^((?!20160126).)*$
```

From: http://stackoverflow.com/a/19925183

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.