changeset 23:d23e83bd3e70

Imporve sync script
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Tue, 04 Feb 2014 23:25:42 +0900
parents a23af18fe011
children 34dbfd717009
files save_generated_slides.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/save_generated_slides.sh	Tue Feb 04 23:24:31 2014 +0900
+++ b/save_generated_slides.sh	Tue Feb 04 23:25:42 2014 +0900
@@ -4,7 +4,7 @@
 
 . config/definition.sh
 
-rsync -ax --exclude .hg ${slide_root_dirname} ${save_repository_path}
+rsync -ax --delete --exclude .hg ${slide_root_dirname} ${save_repository_path}
 
 mkdir -p ${save_directory_path}
 cd ${save_directory_path}
@@ -12,3 +12,4 @@
 hg addremove
 hg add
 hg commit -m "auto-Update generated slides by script"
+echo "commited generated slides"