diff --git a/scripts/list.sh b/scripts/list.sh new file mode 100644 index 0000000..f9fa840 --- /dev/null +++ b/scripts/list.sh @@ -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