3 grep -v "/archive/SQLObject/\|/archive/cheetah3/\|$HOME/tmp/\|/third-party/" |
5 if [ -d "$path" ]; then # skip files `.git` - they're submodules
6 if [ "`basename \"$path\"`" = .git ]; then
7 dirname "$path" # translate `project/.git/` to just `project/`
9 echo "$path" # bare repo `project.git/`
13 LC_ALL=C sort -u > locate-all.list