1 2 3 4 5 6 7 8 9
if [ $# -eq 0 ]; then exit 0 fi rsync -avzP --rsh=ssh ~/Web/aetherdestroyer root@aetherdestroyer.net:/var/www/ git add . git commit -m "$1" git push