#!/bin/bash cd movie_example rm -rf target/doc cargo doc echo "" > target/doc/index.html rsync -aP --rsh=ssh target/doc/ wwwserver:~/websites/movie cd ..