#!/bin/bash
# this regex must match the to-be-synchronized remotes (or their url)
remote_regex='[@.]eckner\.net:'
# these directories contain the to-be-synchronized repositories
repository_dirs=(
$(
getent passwd #GITUSER# \
| cut -d: -f6 \
| sed 's,$,/repositories,'
)
)