added functionality for semi-reproducing the rsync --delete functionality for dir_install