Re: Help with --regex in locate
Andrei,
Thanks very much! (Please forgive the nitpicky comment below.)
On Tuesday, December 03, 2019 07:16:22 AM Andrei POPESCU wrote:
> With 'find' instead of 'locate'.
>
> find dir_with_repos -type d -name .git
>
> or
>
> find dir_with_repos -type d -name "*.git"
>
> if you also have git bare clones ('-name' expects a shell pattern).
It took me a minute (well, a trial) to realize that dir_with_repos is a
metaname (right word?). I prefer a syntax like:
find <dir_with_repos> -type d -name .git
Reply to: