nice trick. I use this approach to distinguish personal and pro folders. It seems there are some caveats in specific cases but it does the job great.
Note that if the pattern ends with /,**, are automatically added:
If the pattern ends with /, ** will be automatically added. For example, the pattern foo/ becomes foo/**. In other words, it matches "foo" and everything inside, recursively
Thanks for that tip =). I don't know why I used the "/ **" syntax, but I think I had some problems when I wrote without it, it didn't work so well. Reading your comment maybe I forgot the "/" and ended up just passing "... /Personal", but I can't remember now.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
nice trick. I use this approach to distinguish personal and pro folders. It seems there are some caveats in specific cases but it does the job great.
Note that if the pattern ends with
/,
**
, are automatically added:Thanks for that tip =). I don't know why I used the "/ **" syntax, but I think I had some problems when I wrote without it, it didn't work so well. Reading your comment maybe I forgot the "/" and ended up just passing "... /Personal", but I can't remember now.