gitshell/ls
alemi 6bdae48354 feat: pushing existing commands
i made this some time ago, pushing as one commit
2024-01-12 09:46:11 +01:00

10 lines
193 B
Bash
Executable file

#!/bin/bash
# ls /srv/git -I 'git-shell-commands'
# one above misses repos like '.dotfiles', let's do it by hand
for f in $(ls /srv/git -a); do
if [[ $f == *.git ]]; then
echo $f
fi
done