]> git.phdru.name Git - git-scripts.git/commitdiff
locate-all: filter off excessive repos
authorOleg Broytman <phd@phdru.name>
Mon, 25 Jul 2016 14:16:29 +0000 (17:16 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 25 Jul 2016 14:16:29 +0000 (17:16 +0300)
locate-all

index 21daa91de58cf5d2b274ddddf1fd5e5dbb230ef9..b4fcdeea3cf24e0f85c0ecf13902b13d276edf48 100755 (executable)
@@ -1,2 +1,4 @@
 #! /bin/sh
 #! /bin/sh
-locate -b \*.git | sed 's!/\.git$!!' | sort | uniq >locate-all.list
+locate -b \*.git | sed 's!/\.git$!!' |
+   grep -v "/archive/SQLObject/\|/third-party/\|$HOME/tmp/" |
+   sort | uniq > locate-all.list