#!/bin/bash

set -x

USER=`cat /usr/local/directadmin/data/users/support/users.list`

for user in $USER; do
        rsync --verbose --group --owner --progress --stats --recursive --times 
        --perms --links --delete --rsh="/usr/bin/ssh -p 9321" --exclude '*.tar.gz' 
        [email protected]:/home/$user/ /home/$user/
done