--- a/sbin/sync/fabfile.py Wed Sep 19 22:57:33 2012 +0900
+++ b/sbin/sync/fabfile.py Thu Sep 20 15:13:53 2012 +0900
@@ -47,10 +47,9 @@
def rsync_export(path, remotepath, filters):
print("Rsync %s to %s",(path,remotepath))
+ filter_option_str = "--progress --stats"
if filters:
- filter_option_str = " ".join(["--filter \"%s\"" % (f) for f in filters])
- else:
- filter_option_str =""
+ filter_option_str += " " + " ".join(["--filter \"%s\"" % (f) for f in filters])
run("mkdir -p \"%s\"" % remotepath)
rsync_project(remotepath, local_dir=path, extra_opts=filter_option_str, delete=True)