extras-buildsys/utils extras-sync,1.2,1.3

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jun 1 21:04:50 UTC 2006


Author: scop

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3393

Modified Files:
	extras-sync 
Log Message:
Better configurability, show progress while syncing.


Index: extras-sync
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-sync,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- extras-sync	29 Apr 2006 10:55:24 -0000	1.2
+++ extras-sync	1 Jun 2006 21:04:47 -0000	1.3
@@ -2,12 +2,14 @@
 
 outputdir=/srv/rpmbuild/extras/tree/extras
 targetdir=build at fedora.linux.duke.edu:/srv/web/docroot/extras/
+exclude=""
+opts="-avH --progress --delete -e ssh $exclude"
 
 echo "Test sync"
-rsync -navH --delete -e ssh $outputdir/* $targetdir | grep -v repodata
+rsync -n $opts $outputdir/* $targetdir | grep -v repodata
 
 echo "Real Sync"
 echo "Ctrl-C or kill to exit"
 echo "Sleeping for 30s"
 sleep 30
-rsync -avH --delete -e ssh $outputdir/* $targetdir
+rsync $opts $outputdir/* $targetdir




More information about the scm-commits mailing list