hoc/scripts/list.sh
Valentin Brandl d2977eee32
Add script to list repositories
[ci skip]
2019-05-19 16:01:58 +02:00

10 lines
136 B
Bash

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