#!/bin/bash # Deploy on local Apache2 Httpd instance from="`git rev-parse --show-toplevel`/web/" dest="/var/www/html/" echo "A copy will be peformed from ..." echo $from echo " ... to ... " echo $dest rsync --delete --recursive --verbose $from $dest