#!/bin/sh
REMOTE_SERVER=redantig@kuu.se
REMOTE_PORT=7822
REMOTE_REPOS_DIR=/home/redantig/fossil/repos
SSH_COMMAND=ssh
if [ ${REMOTE_PORT} -ne 22 ];then
    SSH_COMMAND="ssh -p ${REMOTE_PORT}"
fi
for i in `${SSH_COMMAND} ${REMOTE_SERVER} "ls ${REMOTE_REPOS_DIR}/*fossil"`; do basename $i .fossil; done
