#!/bin/bash USER=robbat2 SERVER=dev.gentoo.org REMOTE_PATH=/space/distfiles-local/ [ "$#" -gt 0 ] && rsync -avP "$@" "$USER@$SERVER:$REMOTE_PATH"