Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
.*\.git|.*\.classpath|.*target|.*\.settings$
"
gm

Description

This will match some common directories that you might not want to sync using rsync, gscutil rsync etc

Submitted by anonymous - 5 years ago