#!/bin/bash name=$(hostname | awk -F '.' '{print $1}') rsync -avr4 /var/www/usage/* rsync://isaac.lsu.edu/usage-${name}/