On Ma, 03 dec 19, 05:54:33, Rh Kramer wrote:
> Notes:
>
> * In general, reply to the list, I am subscribed under a slightly different
> username and will see any replies.
>
> * As is often the case, there is more than one way to skin this cat,
> although I won't mind other approaches, especially if they are simpler, I
> would like to learn what I'm doing wrong with locate --regex.
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).
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Attachment:
signature.asc
Description: PGP signature