Add script to list repositories

[ci skip]
This commit is contained in:
Valentin Brandl 2019-05-19 16:01:58 +02:00
parent 569ce3a457
commit d2977eee32
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

9
scripts/list.sh Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env sh
set -e
DIR=${1:-repos}
find "$DIR" -mindepth 3 -maxdepth 3 -type d \
| sed -e "s/$DIR/https:\//g" \
| sort