#!/bin/sh HOME_FILES=${HOME_FILES:-./files/home} ROOT_FILES=${ROOT_FILES:-./files/root} # overwrite files but preserve files surrounding rsync -av $HOME_FILES/ $HOME $SUDO rsync -av $ROOT_FILES/ /