#!/bin/sh if [ -x /usr/bin/rsync ] then echo "###################################" echo "Mirroring /data/trac/nicotine+/ to el_verde@user.sourceforge.net:/home/groups/n/ni/nicotine-plus/backups/trac/daily/`LANG=C date +%A | tr A-Z a-z`/..." /usr/bin/rsync -CaHv --delete -x --rsh="ssh" /data/trac/nicotine+/ el_verde@user.sourceforge.net:/home/groups/n/ni/nicotine-plus/backups/trac/daily/`LANG=C date +%A | tr A-Z a-z`/ echo echo fi